#๐Ÿ”’ Python subprocess module

7 messages ยท Page 1 of 1 (latest)

last berry
#

Hi i recently started a project where i want to build a Minecraft web gui. And i want to able to all kinds of command for Minecraft server from the web. So I know how to run some terminal command using python subprocess. But when I just can't figure out how I could use it to able to run Minecraft server and get all the output and able to give some new input. Should I use subprocess or something else?

smoky idolBOT
#

@last berry

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

terse minnow
#

Are you familiar with the concept of protocols?

broken hedge
queen hinge
#

How's the minecraft server work? Is it a service you talk to with an API, a command line thing you control with the keyboard, something you talk to with admin CLI tools?

smoky idolBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.