#๐Ÿ”’ Help with app

58 messages ยท Page 1 of 1 (latest)

autumn rapids
#

I am a begginer and I'm trying to create my first program to goof around, when I save it, I can open it but it closes almost instantly. What can I do?

fleet gobletBOT
#

@autumn rapids

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.

opaque wharf
#

Are you trying to run a python code by double clicking it ?

autumn rapids
#

Yes

opaque wharf
#

Okay so that's not how we run python code

#

What software are you using to edit the file ?

autumn rapids
#

I code in IDLE (Python 3.14)

#

and save it from there

opaque wharf
#

Okay, so you should see an arrow somewhere in IDLE (a run button, usually a triangle pointing toward the right)

#

If you click on it, it run the code inside IDLE

autumn rapids
opaque wharf
#

Can you click on it ?

autumn rapids
#

It selects the whole line

#

yes

opaque wharf
#

Can you send a screenshot of your screen ?

autumn rapids
#

yes min

#

I just wrote smth in

opaque wharf
#

This is the shell, not a file you can save

#

It is "interactive" mode let's say

autumn rapids
#

How can I save it?

opaque wharf
#

You are not editing a file

#

Therr is nothing to save

autumn rapids
#

oh

#

so how do I create a file

opaque wharf
#

I am not used to IDLE sorry, in the top menubar, under file maybe ?

#

Or ctrl + N i guess ?

autumn rapids
#

I could use Python 3.14 i have that

#

this is control N

#

ctrl + N

opaque wharf
#

Yes ok

#

See the run button in the menu ?

autumn rapids
#

yes

opaque wharf
#

Wirte something in the file and click run

autumn rapids
#

it said it needed to be saved so i saved it

#

and now it opened again

opaque wharf
#

What openned again ?

autumn rapids
#

just in IDLE

#

the code

#

in IDLE

opaque wharf
#

Ok ?

#

Did you run it ?

autumn rapids
#

ye

opaque wharf
#

Did it work ?

autumn rapids
#

It ran the code yeah

opaque wharf
#

Alright nice

autumn rapids
#

But like if I save it into a folder on my desktop, How can I open it?

opaque wharf
#

You can open idel and open the file using one of the option in the file menu

#

Maybe ctrl + O works too

autumn rapids
#

yea ctrl + O WORKS

#

works*

#

Alright thank you man

opaque wharf
#

Np

autumn rapids
#

Have a great day

opaque wharf
#

It's bed time here but thanks ๐Ÿ˜

#

You too

fleet gobletBOT
#
Python help channel closed for inactivity

This help channel has been closed. 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.