


There are different versions of IDLE installed for each Python version. By typing $PATH you tried to run your PATH variable contents as a command name.Īre there different versions of idle in Python? You need to use the command echo $PATH to display the PATH variable or you can just execute set or env to display all of your environment variables. Where is my PATH environment variable Mac? On Windows, the line for Idle requires you to open a sub-menu. To open Idle with an initial file to edit, select the Python file in an operating system window, right click (Windows) or control-click (Mac), to get a pop-up window to select how to open the file. At the Python shell prompt type import idlelib.idle.Paste path of Python in variable value.Right click on My Computer and click on properties.Path will be set for executing Python programs.
