#๐Ÿ”’ It closes on its own

25 messages ยท Page 1 of 1 (latest)

tall mothBOT
#

@crisp elm

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.

jolly narwhal
#

When you double click a .py program it just runs it and closes it when its done running, so you have no opportunity to see any output or errors.

#

The proper way to run a python program is from a command window like cmd

#

If you're in windows, open cmd, then using cd get into the folder with the programs in it, then do python program.py or whatever the program name is.

#

How are you running the file?

jolly narwhal
#

cd folder puts you into a folder within C:\Users\PC. cd .. goes up a folder

#

You'll need to use that to navigate to the correct folder that has autbump first

#

Remove the autobump.py at the end so you only cd the_folder_name

#

Sorry, I can't really help you any further, it looks like you're trying to do discord self-botting, which is very against the rules

#

!rule 5

tall mothBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

jolly narwhal
#

If you want to do stuff with discord and python, they absolutely let you make bots using their API. Check out discord.py. But that program specifically avoids using the API because its doing stuff discord doesn't like

#

I'm not sure I understand the question. If you don't use them, seems like it'd be hard for discord to find out you have them and ban you.... but if they do find out somehow they can probably still ban you. Discord has a lot of flexibility on who they ban and why.

#

We're not going to ban you for an honest mistake. But you really shouldn't use bots like that (they'll get you banned from discord, and probably all your accounts, not just an account you created just to use that tool) and you can't ask for help using them here

jolly narwhal
#

What are you trying to do?

#

What are you trying to run and what is the problem you're having with it?

#

This is more of a support form for people trying to learn python than people trying to just get someone else's python programs running.

obtuse kettle
#

don't ask to ask. You are asking very vague questions.

#

go ahead :3

#

your python file are executin too fast and are closing after execution.. The files are still running. They are doing their job. What seems to be the problem here? Do you need to see some console log?

#

if so then yes, runnin it on a decated powershell would do the trick as it won't close after execution.

#

you can run a python file in the shell using the python or python3 command..

tall mothBOT
#
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.