I am confused as to how to get into script mode in Python's standard IDLE. I surprisingly cannot find how to get into it on Google.
1 Answer
I believe you mean the simple editor that ships with Python, "IDLE"?
If you have an IDLE console window open already, go to file->New File, or press ctrl+N to get a window where you can write and save a python file like a text editor.
When you've written a script in that editor you can save it as you'd expect from File->Save and run it from Run->Run Module, or press F5 as a quick shortcut. It should then output any text to the IDLE console window.
Also see the comments directly beneath your question for some resources :) Happy scripting!
-
Well, I can't even open up the IDLE. Whenever I click on it, nothing shows up. Mar 30, 2021 at 12:35
-
Did you fix this/did my answer here help in the end? I see from your other comments you got it running eventually. Mar 31, 2021 at 0:35
-
Edit with IDLE