![]() ![]() Depending on how you installed Python on Mac OS X, you may find different folders in /Applications. There are different versions of IDLE installed for each Python version. Or, from a terminal command line, you may find an idle2.6 and an idle3 or idle3.1 or idle3.2. ![]() Look for a Python 3.n (n = 1 or 2) folder with an IDLE in it. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |