![]() ![]() If you are familiar with Python on other Unix platforms you should read the section on running Python scripts from the Unix shell. ![]() If you are completely new to Python you should start reading the tutorial introduction in that document. IDLE includes a help menu that allows you to access Python documentation. Remember that if you choose to install a newer Python version from, you will have two different but functional Python installations on your computer, so it will be important that your paths and usages are consistent with what you want to do. You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. The Apple-provided build of Python is installed in /System/Library/Frameworks/amework and /usr/bin/python, respectively. A symlink to the Python executable is placed in /usr/local/bin/. To uninstall MacPython, you can simply remove these three things. The installer adds this location to your shell path. In here you find IDLE, the development environment that is a standard part of official Python distributions and PythonLauncher, which handles double-clicking Python scripts from the Finder.Ī framework /Library/Frameworks/amework, which includes the Python executable and libraries. What you get after installing is a number of things:Ī Python 3.7 folder in your Applications folder. ![]() A current “universal binary” build of Python, which runs natively on the Mac’s new Intel and legacy PPC CPU’s, is available there. If you wish, you are invited to install the most recent version of Python 3 from the Python website ( ). Mac OS X 10.8 comes with Python 2.7 pre-installed by Apple. Python on a Macintosh running Mac OS X is in principle very similar to Python on any other Unix platform, but there are a number of additional features such as the IDE and the Package Manager that are worth pointing out. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |