Lines Matching refs:Python
5 Using Python on a Mac
11 Python on a Mac running macOS is in principle very similar to Python on
20 macOS since version 10.8 comes with Python 2.7 pre-installed by Apple. If you wish, you
21 are invited to install the most recent version of Python 3 from the Python
22 website (https://www.python.org). A current "universal binary" build of Python,
28 * A :file:`Python 3.9` folder in your :file:`Applications` folder. In here
30 Python distributions; and PythonLauncher, which handles double-clicking Python
33 * A framework :file:`/Library/Frameworks/Python.framework`, which includes the
34 Python executable and libraries. The installer adds this location to your shell
36 symlink to the Python executable is placed in /usr/local/bin/.
38 The Apple-provided build of Python is installed in
39 :file:`/System/Library/Frameworks/Python.framework` and :file:`/usr/bin/python`,
42 if you choose to install a newer Python version from python.org, you will have
43 two different but functional Python installations on your computer, so it will
46 IDLE includes a help menu that allows you to access Python documentation. If you
47 are completely new to Python you should start reading the tutorial introduction
50 If you are familiar with Python on other Unix platforms you should read the
51 section on running Python scripts from the Unix shell.
54 How to run a Python script
57 Your best way to get started with Python on macOS is through the IDLE
61 If you want to run Python scripts from the Terminal window command line or from
90 With older versions of Python, there is one macOS quirk that you need to be
95 With Python 3.9, you can use either :program:`python` or :program:`pythonw`.
101 Python on macOS honors all standard Unix environment variables such as
108 For more information on installation Python packages in MacPython, see section
124 Installing Additional Python Packages
127 There are several methods to install additional Python packages:
129 * Packages can be installed via the standard Python distutils mode (``python
139 There are several options for building GUI applications on the Mac with Python.
141 *PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework, which is
145 The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform
158 Distributing Python Applications on the Mac
161 The standard tool for deploying standalone Python applications on the Mac is
169 The MacPython mailing list is an excellent support resource for Python users and