|
- <!DOCTYPE html>
-
- <html lang="en" data-content_root="../">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta property="og:title" content="5. Using Python on a Mac" />
- <meta property="og:type" content="website" />
- <meta property="og:url" content="https://docs.python.org/3/using/mac.html" />
- <meta property="og:site_name" content="Python documentation" />
- <meta property="og:description" content="Author, Bob Savage < bobsavage@mac.com>,. Python on a Mac running macOS is in principle very similar to Python on any other Unix platform, but there are a number of additional features such as the ..." />
- <meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
- <meta property="og:image:alt" content="Python documentation" />
- <meta name="description" content="Author, Bob Savage < bobsavage@mac.com>,. Python on a Mac running macOS is in principle very similar to Python on any other Unix platform, but there are a number of additional features such as the ..." />
- <meta property="og:image:width" content="200" />
- <meta property="og:image:height" content="200" />
- <meta name="theme-color" content="#3776ab" />
-
- <title>5. Using Python on a Mac — Python 3.12.3 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
- <link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=bb723527" />
- <link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=b20cc3f5" />
-
- <script src="../_static/documentation_options.js?v=2c828074"></script>
- <script src="../_static/doctools.js?v=888ff710"></script>
- <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
-
- <script src="../_static/sidebar.js"></script>
-
- <link rel="search" type="application/opensearchdescription+xml"
- title="Search within Python 3.12.3 documentation"
- href="../_static/opensearch.xml"/>
- <link rel="author" title="About these documents" href="../about.html" />
- <link rel="index" title="Index" href="../genindex.html" />
- <link rel="search" title="Search" href="../search.html" />
- <link rel="copyright" title="Copyright" href="../copyright.html" />
- <link rel="next" title="6. Editors and IDEs" href="editors.html" />
- <link rel="prev" title="4. Using Python on Windows" href="windows.html" />
- <link rel="canonical" href="https://docs.python.org/3/using/mac.html" />
-
-
-
-
-
- <style>
- @media only screen {
- table.full-width-table {
- width: 100%;
- }
- }
- </style>
- <link rel="stylesheet" href="../_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
- <link rel="shortcut icon" type="image/png" href="../_static/py.svg" />
- <script type="text/javascript" src="../_static/copybutton.js"></script>
- <script type="text/javascript" src="../_static/menu.js"></script>
- <script type="text/javascript" src="../_static/search-focus.js"></script>
- <script type="text/javascript" src="../_static/themetoggle.js"></script>
-
- </head>
- <body>
- <div class="mobile-nav">
- <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
- aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
- <nav class="nav-content" role="navigation">
- <label for="menuToggler" class="toggler__label">
- <span></span>
- </label>
- <span class="nav-items-wrapper">
- <a href="https://www.python.org/" class="nav-logo">
- <img src="../_static/py.svg" alt="Python logo"/>
- </a>
- <span class="version_switcher_placeholder"></span>
- <form role="search" class="search" action="../search.html" method="get">
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
- <path fill-rule="nonzero" fill="currentColor" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
- </svg>
- <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
- <input type="submit" value="Go"/>
- </form>
- </span>
- </nav>
- <div class="menu-wrapper">
- <nav class="menu" role="navigation" aria-label="main navigation">
- <div class="language_switcher_placeholder"></div>
-
- <label class="theme-selector-label">
- Theme
- <select class="theme-selector" oninput="activateTheme(this.value)">
- <option value="auto" selected>Auto</option>
- <option value="light">Light</option>
- <option value="dark">Dark</option>
- </select>
- </label>
- <div>
- <h3><a href="../contents.html">Table of Contents</a></h3>
- <ul>
- <li><a class="reference internal" href="#">5. Using Python on a Mac</a><ul>
- <li><a class="reference internal" href="#getting-and-installing-python">5.1. Getting and Installing Python</a><ul>
- <li><a class="reference internal" href="#how-to-run-a-python-script">5.1.1. How to run a Python script</a></li>
- <li><a class="reference internal" href="#running-scripts-with-a-gui">5.1.2. Running scripts with a GUI</a></li>
- <li><a class="reference internal" href="#configuration">5.1.3. Configuration</a></li>
- </ul>
- </li>
- <li><a class="reference internal" href="#the-ide">5.2. The IDE</a></li>
- <li><a class="reference internal" href="#installing-additional-python-packages">5.3. Installing Additional Python Packages</a></li>
- <li><a class="reference internal" href="#gui-programming">5.4. GUI Programming</a></li>
- <li><a class="reference internal" href="#distributing-python-applications">5.5. Distributing Python Applications</a></li>
- <li><a class="reference internal" href="#other-resources">5.6. Other Resources</a></li>
- </ul>
- </li>
- </ul>
-
- </div>
- <div>
- <h4>Previous topic</h4>
- <p class="topless"><a href="windows.html"
- title="previous chapter"><span class="section-number">4. </span>Using Python on Windows</a></p>
- </div>
- <div>
- <h4>Next topic</h4>
- <p class="topless"><a href="editors.html"
- title="next chapter"><span class="section-number">6. </span>Editors and IDEs</a></p>
- </div>
- <div role="note" aria-label="source link">
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../bugs.html">Report a Bug</a></li>
- <li>
- <a href="https://github.com/python/cpython/blob/main/Doc/using/mac.rst"
- rel="nofollow">Show Source
- </a>
- </li>
- </ul>
- </div>
- </nav>
- </div>
- </div>
-
-
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="editors.html" title="6. Editors and IDEs"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="windows.html" title="4. Using Python on Windows"
- accesskey="P">previous</a> |</li>
-
- <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
- <li><a href="https://www.python.org/">Python</a> »</li>
- <li class="switchers">
- <div class="language_switcher_placeholder"></div>
- <div class="version_switcher_placeholder"></div>
- </li>
- <li>
-
- </li>
- <li id="cpython-language-and-version">
- <a href="../index.html">3.12.3 Documentation</a> »
- </li>
-
- <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Python Setup and Usage</a> »</li>
- <li class="nav-item nav-item-this"><a href=""><span class="section-number">5. </span>Using Python on a Mac</a></li>
- <li class="right">
-
-
- <div class="inline-search" role="search">
- <form class="inline-search" action="../search.html" method="get">
- <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
- <input type="submit" value="Go" />
- </form>
- </div>
- |
- </li>
- <li class="right">
- <label class="theme-selector-label">
- Theme
- <select class="theme-selector" oninput="activateTheme(this.value)">
- <option value="auto" selected>Auto</option>
- <option value="light">Light</option>
- <option value="dark">Dark</option>
- </select>
- </label> |</li>
-
- </ul>
- </div>
-
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <section id="using-python-on-a-mac">
- <span id="using-on-mac"></span><h1><span class="section-number">5. </span>Using Python on a Mac<a class="headerlink" href="#using-python-on-a-mac" title="Link to this heading">¶</a></h1>
- <dl class="field-list simple">
- <dt class="field-odd">Author<span class="colon">:</span></dt>
- <dd class="field-odd"><p>Bob Savage <<a class="reference external" href="mailto:bobsavage%40mac.com">bobsavage<span>@</span>mac<span>.</span>com</a>></p>
- </dd>
- </dl>
- <p>Python on a Mac running macOS is in principle very similar to Python on
- any other Unix platform, but there are a number of additional features such as
- the integrated development environment (IDE) and the Package Manager that are
- worth pointing out.</p>
- <section id="getting-and-installing-python">
- <span id="getting-and-installing-macpython"></span><span id="getting-osx"></span><h2><span class="section-number">5.1. </span>Getting and Installing Python<a class="headerlink" href="#getting-and-installing-python" title="Link to this heading">¶</a></h2>
- <p>macOS used to come with Python 2.7 pre-installed between versions
- 10.8 and <a class="reference external" href="https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python">12.3</a>.
- You are invited to install the most recent version of Python 3 from the <a class="reference external" href="https://www.python.org/downloads/macos/">Python
- website</a>.
- A current “universal2 binary” build of Python, which runs natively on the Mac’s
- new Apple Silicon and legacy Intel processors, is available there.</p>
- <p>What you get after installing is a number of things:</p>
- <ul class="simple">
- <li><p>A <code class="docutils literal notranslate"><span class="pre">Python</span> <span class="pre">3.12</span></code> folder in your <code class="file docutils literal notranslate"><span class="pre">Applications</span></code> folder. In here
- you find IDLE, the development environment that is a standard part of official
- Python distributions; and <strong class="program">Python Launcher</strong>, which handles double-clicking Python
- scripts from the Finder.</p></li>
- <li><p>A framework <code class="file docutils literal notranslate"><span class="pre">/Library/Frameworks/Python.framework</span></code>, which includes the
- Python executable and libraries. The installer adds this location to your shell
- path. To uninstall Python, you can remove these three things. A
- symlink to the Python executable is placed in <code class="file docutils literal notranslate"><span class="pre">/usr/local/bin/</span></code>.</p></li>
- </ul>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>On macOS 10.8-12.3, the Apple-provided build of Python is installed in
- <code class="file docutils literal notranslate"><span class="pre">/System/Library/Frameworks/Python.framework</span></code> and <code class="file docutils literal notranslate"><span class="pre">/usr/bin/python</span></code>,
- respectively. You should never modify or delete these, as they are
- Apple-controlled and are used by Apple- or third-party software. Remember that
- if you choose to install a newer Python version from python.org, 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.</p>
- </div>
- <p>IDLE includes a Help menu that allows you to access Python documentation. If you
- are completely new to Python you should start reading the tutorial introduction
- in that document.</p>
- <p>If you are familiar with Python on other Unix platforms you should read the
- section on running Python scripts from the Unix shell.</p>
- <section id="how-to-run-a-python-script">
- <h3><span class="section-number">5.1.1. </span>How to run a Python script<a class="headerlink" href="#how-to-run-a-python-script" title="Link to this heading">¶</a></h3>
- <p>Your best way to get started with Python on macOS is through the IDLE
- integrated development environment; see section <a class="reference internal" href="#ide"><span class="std std-ref">The IDE</span></a> and use the Help menu
- when the IDE is running.</p>
- <p>If you want to run Python scripts from the Terminal window command line or from
- the Finder you first need an editor to create your script. macOS comes with a
- number of standard Unix command line editors, <strong class="program">vim</strong>
- <strong class="program">nano</strong> among them. If you want a more Mac-like editor,
- <strong class="program">BBEdit</strong> from Bare Bones Software (see
- <a class="reference external" href="https://www.barebones.com/products/bbedit/index.html">https://www.barebones.com/products/bbedit/index.html</a>) are good choices, as is
- <strong class="program">TextMate</strong> (see <a class="reference external" href="https://macromates.com">https://macromates.com</a>). Other editors include
- <strong class="program">MacVim</strong> (<a class="reference external" href="https://macvim.org">https://macvim.org</a>) and <strong class="program">Aquamacs</strong>
- (<a class="reference external" href="https://aquamacs.org">https://aquamacs.org</a>).</p>
- <p>To run your script from the Terminal window you must make sure that
- <code class="file docutils literal notranslate"><span class="pre">/usr/local/bin</span></code> is in your shell search path.</p>
- <p>To run your script from the Finder you have two options:</p>
- <ul class="simple">
- <li><p>Drag it to <strong class="program">Python Launcher</strong>.</p></li>
- <li><p>Select <strong class="program">Python Launcher</strong> as the default application to open your
- script (or any <code class="docutils literal notranslate"><span class="pre">.py</span></code> script) through the finder Info window and double-click it.
- <strong class="program">Python Launcher</strong> has various preferences to control how your script is
- launched. Option-dragging allows you to change these for one invocation, or use
- its Preferences menu to change things globally.</p></li>
- </ul>
- </section>
- <section id="running-scripts-with-a-gui">
- <span id="osx-gui-scripts"></span><h3><span class="section-number">5.1.2. </span>Running scripts with a GUI<a class="headerlink" href="#running-scripts-with-a-gui" title="Link to this heading">¶</a></h3>
- <p>With older versions of Python, there is one macOS quirk that you need to be
- aware of: programs that talk to the Aqua window manager (in other words,
- anything that has a GUI) need to be run in a special way. Use <strong class="program">pythonw</strong>
- instead of <strong class="program">python</strong> to start such scripts.</p>
- <p>With Python 3.9, you can use either <strong class="program">python</strong> or <strong class="program">pythonw</strong>.</p>
- </section>
- <section id="configuration">
- <h3><span class="section-number">5.1.3. </span>Configuration<a class="headerlink" href="#configuration" title="Link to this heading">¶</a></h3>
- <p>Python on macOS honors all standard Unix environment variables such as
- <span class="target" id="index-0"></span><a class="reference internal" href="cmdline.html#envvar-PYTHONPATH"><code class="xref std std-envvar docutils literal notranslate"><span class="pre">PYTHONPATH</span></code></a>, but setting these variables for programs started from the
- Finder is non-standard as the Finder does not read your <code class="file docutils literal notranslate"><span class="pre">.profile</span></code> or
- <code class="file docutils literal notranslate"><span class="pre">.cshrc</span></code> at startup. You need to create a file
- <code class="file docutils literal notranslate"><span class="pre">~/.MacOSX/environment.plist</span></code>. See Apple’s
- <a class="reference external" href="https://developer.apple.com/library/archive/qa/qa1067/_index.html">Technical Q&A QA1067</a>
- for details.</p>
- <p>For more information on installation Python packages, see section
- <a class="reference internal" href="#mac-package-manager"><span class="std std-ref">Installing Additional Python Packages</span></a>.</p>
- </section>
- </section>
- <section id="the-ide">
- <span id="ide"></span><h2><span class="section-number">5.2. </span>The IDE<a class="headerlink" href="#the-ide" title="Link to this heading">¶</a></h2>
- <p>Python ships with the standard IDLE development environment. A good
- introduction to using IDLE can be found at
- <a class="reference external" href="https://www.hashcollision.org/hkn/python/idle_intro/index.html">https://www.hashcollision.org/hkn/python/idle_intro/index.html</a>.</p>
- </section>
- <section id="installing-additional-python-packages">
- <span id="mac-package-manager"></span><h2><span class="section-number">5.3. </span>Installing Additional Python Packages<a class="headerlink" href="#installing-additional-python-packages" title="Link to this heading">¶</a></h2>
- <p>This section has moved to the <a class="reference external" href="https://packaging.python.org/en/latest/tutorials/installing-packages/">Python Packaging User Guide</a>.</p>
- </section>
- <section id="gui-programming">
- <span id="gui-programming-on-the-mac"></span><h2><span class="section-number">5.4. </span>GUI Programming<a class="headerlink" href="#gui-programming" title="Link to this heading">¶</a></h2>
- <p>There are several options for building GUI applications on the Mac with Python.</p>
- <p><em>PyObjC</em> is a Python binding to Apple’s Objective-C/Cocoa framework, which is
- the foundation of most modern Mac development. Information on PyObjC is
- available from <a class="reference external" href="https://pypi.org/project/pyobjc/">https://pypi.org/project/pyobjc/</a>.</p>
- <p>The standard Python GUI toolkit is <a class="reference internal" href="../library/tkinter.html#module-tkinter" title="tkinter: Interface to Tcl/Tk for graphical user interfaces"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tkinter</span></code></a>, based on the cross-platform
- Tk toolkit (<a class="reference external" href="https://www.tcl.tk">https://www.tcl.tk</a>). An Aqua-native version of Tk is bundled with
- macOS by Apple, and the latest version can be downloaded and installed from
- <a class="reference external" href="https://www.activestate.com">https://www.activestate.com</a>; it can also be built from source.</p>
- <p>A number of alternative macOS GUI toolkits are available:</p>
- <ul class="simple">
- <li><p><a class="reference external" href="https://www.qt.io/qt-for-python">PySide</a>: Official Python bindings to the
- <a class="reference external" href="https://qt.io">Qt GUI toolkit</a>.</p></li>
- <li><p><a class="reference external" href="https://riverbankcomputing.com/software/pyqt/intro">PyQt</a>: Alternative
- Python bindings to Qt.</p></li>
- <li><p><a class="reference external" href="https://kivy.org">Kivy</a>: A cross-platform GUI toolkit that supports
- desktop and mobile platforms.</p></li>
- <li><p><a class="reference external" href="https://toga.readthedocs.io">Toga</a>: Part of the <a class="reference external" href="https://beeware.org">BeeWare Project</a>; supports desktop, mobile, web and console apps.</p></li>
- <li><p><a class="reference external" href="https://www.wxpython.org">wxPython</a>: A cross-platform toolkit that
- supports desktop operating systems.</p></li>
- </ul>
- </section>
- <section id="distributing-python-applications">
- <span id="distributing-python-applications-on-the-mac"></span><h2><span class="section-number">5.5. </span>Distributing Python Applications<a class="headerlink" href="#distributing-python-applications" title="Link to this heading">¶</a></h2>
- <p>A range of tools exist for converting your Python code into a standalone
- distributable application:</p>
- <ul class="simple">
- <li><p><a class="reference external" href="https://pypi.org/project/py2app/">py2app</a>: Supports creating macOS <code class="docutils literal notranslate"><span class="pre">.app</span></code>
- bundles from a Python project.</p></li>
- <li><p><a class="reference external" href="https://briefcase.readthedocs.io">Briefcase</a>: Part of the <a class="reference external" href="https://beeware.org">BeeWare Project</a>; a cross-platform packaging tool that supports
- creation of <code class="docutils literal notranslate"><span class="pre">.app</span></code> bundles on macOS, as well as managing signing and
- notarization.</p></li>
- <li><p><a class="reference external" href="https://pyinstaller.org/">PyInstaller</a>: A cross-platform packaging tool that creates
- a single file or folder as a distributable artifact.</p></li>
- </ul>
- </section>
- <section id="other-resources">
- <h2><span class="section-number">5.6. </span>Other Resources<a class="headerlink" href="#other-resources" title="Link to this heading">¶</a></h2>
- <p>The Pythonmac-SIG mailing list is an excellent support resource for Python users
- and developers on the Mac:</p>
- <p><a class="reference external" href="https://www.python.org/community/sigs/current/pythonmac-sig/">https://www.python.org/community/sigs/current/pythonmac-sig/</a></p>
- <p>Another useful resource is the MacPython wiki:</p>
- <p><a class="reference external" href="https://wiki.python.org/moin/MacPython">https://wiki.python.org/moin/MacPython</a></p>
- </section>
- </section>
-
-
- <div class="clearer"></div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <div>
- <h3><a href="../contents.html">Table of Contents</a></h3>
- <ul>
- <li><a class="reference internal" href="#">5. Using Python on a Mac</a><ul>
- <li><a class="reference internal" href="#getting-and-installing-python">5.1. Getting and Installing Python</a><ul>
- <li><a class="reference internal" href="#how-to-run-a-python-script">5.1.1. How to run a Python script</a></li>
- <li><a class="reference internal" href="#running-scripts-with-a-gui">5.1.2. Running scripts with a GUI</a></li>
- <li><a class="reference internal" href="#configuration">5.1.3. Configuration</a></li>
- </ul>
- </li>
- <li><a class="reference internal" href="#the-ide">5.2. The IDE</a></li>
- <li><a class="reference internal" href="#installing-additional-python-packages">5.3. Installing Additional Python Packages</a></li>
- <li><a class="reference internal" href="#gui-programming">5.4. GUI Programming</a></li>
- <li><a class="reference internal" href="#distributing-python-applications">5.5. Distributing Python Applications</a></li>
- <li><a class="reference internal" href="#other-resources">5.6. Other Resources</a></li>
- </ul>
- </li>
- </ul>
-
- </div>
- <div>
- <h4>Previous topic</h4>
- <p class="topless"><a href="windows.html"
- title="previous chapter"><span class="section-number">4. </span>Using Python on Windows</a></p>
- </div>
- <div>
- <h4>Next topic</h4>
- <p class="topless"><a href="editors.html"
- title="next chapter"><span class="section-number">6. </span>Editors and IDEs</a></p>
- </div>
- <div role="note" aria-label="source link">
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../bugs.html">Report a Bug</a></li>
- <li>
- <a href="https://github.com/python/cpython/blob/main/Doc/using/mac.rst"
- rel="nofollow">Show Source
- </a>
- </li>
- </ul>
- </div>
- </div>
- <div id="sidebarbutton" title="Collapse sidebar">
- <span>«</span>
- </div>
-
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="../py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="editors.html" title="6. Editors and IDEs"
- >next</a> |</li>
- <li class="right" >
- <a href="windows.html" title="4. Using Python on Windows"
- >previous</a> |</li>
-
- <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
- <li><a href="https://www.python.org/">Python</a> »</li>
- <li class="switchers">
- <div class="language_switcher_placeholder"></div>
- <div class="version_switcher_placeholder"></div>
- </li>
- <li>
-
- </li>
- <li id="cpython-language-and-version">
- <a href="../index.html">3.12.3 Documentation</a> »
- </li>
-
- <li class="nav-item nav-item-1"><a href="index.html" >Python Setup and Usage</a> »</li>
- <li class="nav-item nav-item-this"><a href=""><span class="section-number">5. </span>Using Python on a Mac</a></li>
- <li class="right">
-
-
- <div class="inline-search" role="search">
- <form class="inline-search" action="../search.html" method="get">
- <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
- <input type="submit" value="Go" />
- </form>
- </div>
- |
- </li>
- <li class="right">
- <label class="theme-selector-label">
- Theme
- <select class="theme-selector" oninput="activateTheme(this.value)">
- <option value="auto" selected>Auto</option>
- <option value="light">Light</option>
- <option value="dark">Dark</option>
- </select>
- </label> |</li>
-
- </ul>
- </div>
- <div class="footer">
- ©
- <a href="../copyright.html">
-
- Copyright
-
- </a>
- 2001-2024, Python Software Foundation.
- <br />
- This page is licensed under the Python Software Foundation License Version 2.
- <br />
- Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
- <br />
-
- See <a href="/license.html">History and License</a> for more information.<br />
-
-
- <br />
-
- The Python Software Foundation is a non-profit corporation.
- <a href="https://www.python.org/psf/donations/">Please donate.</a>
- <br />
- <br />
- Last updated on Apr 09, 2024 (13:47 UTC).
-
- <a href="/bugs.html">Found a bug</a>?
-
- <br />
-
- Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
- </div>
-
- </body>
- </html>
|