Home  >  Article  >  Backend Development  >  Where is the python that comes with mac

Where is the python that comes with mac

anonymity
anonymityOriginal
2019-06-12 11:06:4910888browse

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.

Where is the python that comes with mac

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn