Reputation: 311
I am just starting to learn Python and I am using Windows 10. I downloaded and installed Python 3.4.3. But everytime I open Python from my Desktop or from C:\Python\python.exe it just opens a black command prompt without any Menu options like File menu, Edit Menu, Format Menu etc. I can't see any colors of the code, it's just black screen with white text. I searched about it on internet and came to know that what I am opening is the Editor winodws and I need to open Shell Window in order to have access to all of those options and features. I can't figure out where is the .exe of Shell Window and with what name is it? Please help me.
P.S. I also tried to open pythonw.exe that was present in the Python folder where it was installed, but nothing opened.
Upvotes: 16
Views: 97291
Reputation: 2094
You might have chosen to install as little as possible and IDLE is optional. If so, you can try to modify your installation (Settings > Applications then search for your Python installation, select it and click "Modify") or uninstall it and then reinstall again but selecting the custom installation and ensuring to select IDLE to be installed.
Upvotes: 0
Reputation: 49
Idle can be opened as an edit window or a shell window. To get the the idle edit window from the shell window is very simple if you know how. Here's how:
next time you open idle, the edit window will appear.
Upvotes: 1
Reputation: 71
For those using Anaconda, type idle on windows search bar ("Run or Execute command"). This probably wont work if you didn't install anaconda with environment variables. You can also go to
Anaconda3 folder > Scripts >idle.exe
and create a shortcut to you desktop.
Upvotes: 0
Reputation: 51
Start menu > type IDLE (Python 3.4.3 <bitnum>-bit)
.
Replace <bitnum>
with 32 if 32-bit, otherwise 64.
Example:
IDLE (Python 3.6.2 64-bit)
I agree with one who says:
just type "IDLE" in the start-menu where it says "Type here to search" and press [{ENTER}]
Upvotes: 4
Reputation: 5
My solution to setting options and then invoking Idle on a python script is:
Set optn=blah
...
Set optn=blah
start pythonw C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python36-32\Lib\idlelib\idle.py STFxlate.py
This allows you to setup the environment prior to invoking idle. This assumes that pythonw is in the current path
Upvotes: 1
Reputation: 31
If your using Windows 10 just type in idle
where it says: "Type here for search"
Upvotes: 2
Reputation: 33714
In Windows you will need to right click a .py, and press Edit to edit the file using IDLE. Since the default action of double clicking a .py is executing the file with python on a shell prompt.
To open just IDLE:
Click on that. C:\Python36\Lib\idlelib\idle.bat
Upvotes: 17