Theme
Auto
Light
Dark
Table of Contents
4. Using Python on Windows
4.1. Python install manager
4.1.1. Installation
4.1.2. Basic use
4.1.3. Command help
4.1.4. Listing runtimes
4.1.5. Installing runtimes
4.1.6. Offline installs
4.1.7. Uninstalling runtimes
4.1.8. Configuration
4.1.9. Shebang lines
4.1.10. Advanced installation
4.1.11. Administrative configuration
4.1.12. Installing free-threaded binaries
4.1.13. Troubleshooting
4.2. The embeddable package
4.2.1. Python application
4.2.2. Embedding Python
4.3. The nuget.org packages
4.3.1. Free-threaded packages
4.4. Alternative bundles
4.5. Supported Windows versions
4.6. Removing the MAX_PATH limitation
4.7. UTF-8 mode
4.8. Finding modules
4.9. Additional modules
4.9.1. PyWin32
4.9.2. cx_Freeze
4.10. Compiling Python on Windows
4.11. The full installer (deprecated)
4.11.1. Installation steps
4.11.2. Removing the MAX_PATH limitation
4.11.3. Installing without UI
4.11.4. Installing without downloading
4.11.5. Modifying an install
4.11.6. Installing free-threaded binaries
4.12. Python launcher for Windows (deprecated)
4.12.1. Getting started
4.12.1.1. From the command-line
4.12.1.2. Virtual environments
4.12.1.3. From a script
4.12.1.4. From file associations
4.12.2. Shebang lines
4.12.3. Arguments in shebang lines
4.12.4. Customization
4.12.4.1. Customization via INI files
4.12.4.2. Customizing default Python versions
4.12.5. Diagnostics
4.12.6. Dry run
4.12.7. Install on demand
4.12.8. Return codes
Previous topic
3.
Configure Python
Next topic
5.
Using Python on macOS