#๐Ÿ”’ When i want to open .py file it automaticly close in 0.1sec... how to fix please

67 messages ยท Page 1 of 1 (latest)

soft bloom
ocean shardBOT
#

@soft bloom

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.

soft bloom
cobalt kindle
#

If you want to edit the file
Right click then choose open with notepad or any other text editor

soft bloom
#

man

#

i dont want to edit

#

the file

#

i want to open

thorn obsidian
#

Edit it in any case, and put a input() at the end ๐Ÿ™‚

#

It will stay open until you hit enter.

thorn obsidian
#

Then it's kaput

ancient vortex
#

could you show us?

soft bloom
#

doesnt work

#

yea but how?

ancient vortex
#

paste the text into here

valid skiff
#

!paste

cobalt kindle
#

If you want to run it
Open terminal in that directory then type

python file name 
ocean shardBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

valid skiff
#

then put it here

ancient vortex
#

it's possibly erroring out

#

that would cause this

soft bloom
#

i got it like that...

#

oh

#

i cant send .txt

#

messages

ancient vortex
soft bloom
#

there

soft bloom
#

idk what he sended me...

thorn obsidian
#

school huh?

#

!rule tos

ocean shardBOT
#

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

valid skiff
soft bloom
#

bro

valid skiff
ocean shardBOT
#

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

soft bloom
#

i dont know

#

what he sended me

ancient vortex
#

oh lol

#

lol

valid skiff
thorn obsidian
valid skiff
soft bloom
#

he said that he will send me his work...

valid skiff
soft bloom
#

yea

#

i will

#

๐Ÿ˜‰

valid skiff
#

hes admitting to it

soft bloom
#

yea

#

i am

#

hah

#

101%

valid skiff
vernal elm
#

what an absurd thing to need help with

valid skiff
vernal elm
soft bloom
#

!close

ocean shardBOT
#
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.