Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
Version: None
Released: Jan. 21, 2026
The Python install manager for Windows is our tool for installing and managing runtimes. The traditional executable installer will stop being released with Python 3.16 This is a beta release of the next update. Provide feedback at python/pymanager on GitHub. You should uninstall your existing Python install manager before …
Released: Feb. 6, 2026
...py wavread.py wavwrite.py aiffread.py aiffwrite.py auread.py auwrite.py ... Effects/ Subpackage for sound effects __init__.py echo.py surround.py reverse.py ... Filters/ Subpackage for filters __init__.py equalizer.py vocoder.py karaoke.py dolby.py ... Users of the package can import individual modules...
...Python now have a "Py" or "_Py" prefix, and the same is true for most macros and typedefs. From 1.5a4 to 1.5b1 If you were an alpha tester, here are the most relevant changes since 1.5a4 (of course all known bugs have been fixed, leaks plugged, and some documentation has been added). The full list of changes since 1.5a4 is presented at the end of the Misc/NEWS file. Package directories now require the presence of __init__.py (or .pyc/.pyo as applicable). Packages can no...
...py .py files into a mockup installation tree compile .py files to .pyc and .pyo form compile and link C extensions, putting the shared objects into the mockup installation tree process documentation (eg. creating *roff files for Unix man pages, info files for the GNU info system, and/or HTML files for web-friendly documentation) test run the developer-provided test suite, and ens...
...py using this scheme might be: #!/usr/bin/env python import distutils distutils.setup (name = 'mymod', version_from = 'mymod.py', pyfiles = ['mymod.py', 'othermod.py'], cfiles = ['myext.c']) Obviously, custom configuration code would just be written in Python before or after the call to distutils.setup; it's not clear how to make this code interact with everything that lies behind distutils.set...
...py .py, .pyc, and .pyo files into the shared installation directory (which would default to the site-specific area of the Python system library tree); copy dynamic libraries (shared objects or DLLs) to the architecture-specific installation directory; copy processed documentation (man pages, Info files, whatever) to the documentation installation directory. (Perhaps this should be split up into install_py, install_extensions, and install_d...
Released: March 14, 2025
Here comes the penultimate alpha. This is an early developer preview of Python 3.14 Major new features of the 3.14 series, compared to 3.13 Python 3.14 is still in development. This release, 3.14.0a6, is the sixth of seven planned alpha releases. Alpha releases are intended to …
View Release Notes
...Python installation. For example, a different installation drive can be specified with TARGETDIR=R:\python24 The default TARGETDIR is [WindowsVolume]Python<version>. Due to a bug in python-2.4.msi, installing into a target dir that has a space in its name causes the IDLE and pydoc shortcuts to fail. Installation for All Users Adding ALLUSERS=1 causes an installation for all users. By default, the non-interactive installation install the package just for the curre...
...python<version>.msi python can be uninstalled. It is not necessary to have the MSI file available for uninstallation; alternatively, the package or product code can also be specified. You can find the product code by looking at the properties of the Uninstall shortcut that Python installs in the start menu. Administrative installation With msiexec /a python<version>.msi an "administrative" (network) installation can be initiated. The files get unpacked into the ta...
...Python code broken with this. No array attributes (namely shape, flat, real and imag) for Python versions previous to 2.2 (we use the properties feature to support this for 2.2 and later; so it is only incompatible with Numeric with older versions of Python) There are more minor differences, but these are the major backward compatiblity issues at the Python level. Two of them should not be problems for most users using Python 2.2 or later. It does have a number of importa...
...PyObject_GetAttr() and PyObject_GetItem(). On the other hand (and these are the most common examples, but not the only ones), PyList_GetItem(), PyTuple_GetItem(), PyDict_GetItem() and PyDict_GetItemString() all return to you an object without ownership of a reference to the object. This is called a "borrowed" reference. When you pass a borrowed reference to another call that expects you to INCREF its argument (like PyList_SetItem() discussed above), you have a problem. I suspec...
...Python core team project (e.g. "Python Inc.", "Python Corp.", "Python 4.0", "Python Future", "Python NG", "Python Compiler", "Python Shop", etc.) and also won't approve names which suggest exclusivity (e.g. "The Python Academy", "The Python School", "Python Certification Authority", etc.). May I use the Python logo for promotion? This is fine as long as you use the unaltered Python logos from ou...
...PyCamp" Name Jeff Rush sent the Board email asking for advice regarding the "PyCamp" name. He had begun to use it for a Python version of the BarCamp regional "unconferences", and the idea has proven popular. However, TriZPUG have adopted the PyCamp name for their training seminars, formerly called "Python Bootcamp" (this name seems to have been dropped though). S. Deibel will reply, suggesting the non-exclusive use of "Python Bootcamp" as long as it...
...Py_TPFLAGS_GC to PyTPFLAGS_HAVE_GC use PyObject_GC_New or PyObject_GC_NewVar to allocate objects and PyObject_GC_Del to deallocate them rename PyObject_GC_Init to PyObject_GC_Track and PyObject_GC_Fini to PyObject_GC_UnTrack remove PyGC_HEAD_SIZE from object size calculations remove calls to PyObject_AS_GC and PyObject_FROM_GC Two new functions: PyString_FromFormat() and PyString_FromFormatV(). These can be used safely to construct string objects from a sprintf-style format string (similar to...
...PyDict_Contains(d, k) which is like PySequence_Contains() but is specific to dictionaries and executes about 10% faster. Added three new macros: Py_RETURN_NONE, Py_RETURN_TRUE, and Py_RETURN_FALSE. Each return the singleton they mention after Py_INCREF()ing them. Added a new function, PyTuple_Pack(n, ...) for constructing tuples from a variable length argument list of Python objects without having to invoke the more complex machinery of Py_BuildValue(). PyTuple_Pack(3, a, b, c) is equivalent to...
...Python scripts). Most of Mac/Lib has moved to Lib/plat-mac, which is again used both in MacPython-OSX and MacPython-OS9. The only modules remaining in Mac/Lib are specifically for MacPython-OS9 (CFM support, preference resources, etc). A new utility PythonLauncher will start a Python interpreter when a .py or .pyw script is double-clicked in the Finder. By default .py scripts are run with a normal Python interpreter in a Terminal window and .pyw files are run with a window-aware pythonw interpre...
...Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. New API PyImport_ImportModuleNoBlock(), works like PyImport_ImportModule() but won't block on the import lock (returning an error instead). What's New in Python 3.0a2? Release date: 07-Dec-2007 (Note: this list is incomplete.) Core and Builtins str8 now has the same construction signature as bytes. Comparisons between str and str8 now return False/True for ==/!=. sqlite3 returns str8 when recreating on object from it's __con...
...pygame is the original and still very much active package for game development using Python. It allows Python to talk to SDL, a cross-platform, multimedia library. Because it needs to be compiled for each platform and each Python version, there can be a lag when a new Python version comes along. pyglet is the newcomer, based on OpenGL. Because it is a pure Python package, it can be used as is even when a new Python version is released (except for the Python 2 to Python 3 transition). Miscell...
If you didn't find what you need, try your search in the Python language documentation.