Python is a computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.
The python that comes with mac is installed in the /usr/bin/python directory
Enter the terminal and type python directly to enter Interactive mode or python xxx.py to run the written python program
Among them, the interpreter is in ./bin/python2.6 in this directory
How to find the system built-in on Mac python path
Hold down the shortcut key commad shift G in Finder and enter the path to the file below, or you can find the directory yourself
The above is the detailed content of Where is the python that comes with mac. For more information, please follow other related articles on the PHP Chinese website!