Python Forum
What's up with my IDLE menu?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's up with my IDLE menu?
#1
Hi,

trying to start learning p3
Install the package for MacOS from python.org v3.7.2
All the lessons and courses describe the IDLE menu containing RUN menu.
I do not have it.
I checked installing onto the older Mac - the same.
Checked the lessons, courses and forums - people do not have such a problem.
Probably because the all use releases prior to 3.7.2 and base their samples on that version.

How do I return the IDLE to the learnable condition?

Menu now: File | Edit | Shell | Debug | Options | Window | Help
Reply
#2
When you start IDLE, it's in interactive mode (Python shell). You can tell, because there is >>>. Window title is Python shell
In interactive mode the code is executed immediatelly and you will need to type everything over and over again. What you want is to write your code and save it as an .py file
Now go to File->New File will open new window. This is where you should write your code and save it before you run it. In this second window there is Run menu.
When you run the file you saved, the result will be visible in the Python shell.
All that said IDLE is considered very poor editor.


[Image: openfile.jpg]

also you may want to check different options to run your code
https://python-forum.io/Thread-How-to-Ex...ython-code
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
thanks a lot!
I knew that it's something simple but without your help hardly we could go further
thank you!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PROBLEM] Removing IDLE from context menu WebSpider 1 426 Sep-28-2023, 03:35 PM
Last Post: deanhystad
  IDLE not importing pygame (ok outside of IDLE) miner_tom 1 3,280 Sep-14-2018, 07:54 PM
Last Post: Larz60+
  Python IDLE 3.6.2 on WIn7 vs Pyhton 3 IDLE raspberry djdan_23 5 5,650 Sep-07-2017, 12:51 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020