Bottom Page

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
Quote
#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.


İmage


also you may want to check different options to run your code
https://python-forum.io/Thread-How-to-Ex...ython-code
Quote
#3
thanks a lot!
I knew that it's something simple but without your help hardly we could go further
thank you!
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to automate the clicking of GUI's menu? Hypermesher 2 137 Jul-05-2019, 01:52 PM
Last Post: Yoriz
  python script file not opening in IDLE editor srm 2 162 Jun-23-2019, 08:45 AM
Last Post: Larz60+
  Can't write "\" backlash in IDLE Zherot 10 3,185 Jun-23-2019, 06:42 AM
Last Post: nurisyazoya
  Code works in IDLE, appears to work in CMD, but won't produce files in CMD/Windows ChrisPy33 3 345 Jun-12-2019, 05:56 AM
Last Post: ChrisPy33
  IDLE keyboard shortcuts tam 2 195 May-15-2019, 06:34 AM
Last Post: tam
  IDLE Deployment to classroom siwekp 1 123 May-14-2019, 07:21 PM
Last Post: Larz60+
  Python 3.6.5 syntax error in IDLE loren41 7 958 May-11-2019, 02:52 PM
Last Post: loren41
  Can't start IDLE JohnKentzelGriffin 4 258 Apr-26-2019, 04:45 PM
Last Post: nilamo
  uising python zero with IDLE I get an error of 'module not found' Brian123 1 245 Apr-24-2019, 09:21 PM
Last Post: Yoriz
  Optimization problem ( food menu ) Truman 3 343 Apr-01-2019, 09:28 PM
Last Post: Truman

Forum Jump:


Users browsing this thread: 1 Guest(s)