Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
Version: None
Released: May 30, 2018
This is a beta preview of Python 3.7 Python 3.7 is still in development. This release, 3.7.0b5, is now the final planned beta release preview. Originally, 3.7.0b4 was intended to be the final beta but, due to some unexpected compatibility issues discovered during beta testing of third-party packages, we …
View Release Notes
...files directly in the Python directory. If you already have a Tcl/Tk installation, this wastes some disk space (about 4 Megs) but avoids problems with conflicting Tcl/Tk installations, and makes it much easier for Python to ensure that Tcl/Tk can find all its files. Note: the alpha installers don't include the documentation. The Windows installer now installs by default in Python16on the default volume, instead of Program FilesPython-1.6. Changed Tools IDLE - complete overhaul. See the IDLE...
...files readable by Microsoft Word, so OpenJade was set to emit Microsoft Word Rich Text files. OpenJade operates as a command-line application, and thus is simple to control from Python code with the Popen4 Python standard library call. Post-Processing using Word Automation with PythonCOM The Microsoft Rich Text Format files created by OpenJade are quite attractive in overall appearance. However, they did not conform with many of the corporate level standards for formatted Word documentation fi...
...reading of text files, a very common operation in Python programs. <p><b>About Python</b> <br>As a rapidly growing programming language, Python is Open Source, cross-platform and easy to use. An elegant, highly readable language, Python's strength is object-oriented scripting. It is used for cutting-edge applications by leading technology and research institutions such as: Carnegie Mellon University, Lawrence Livermore National Laboratory, Los Alamos National Laboratory, ...
...files at a fixed interval. The operator module gained functions attrgetter() and itemgetter() The posix module (available as os) has a new function getsid() poplib supports POP over SSL profile can now profile C extension functions random has a new method getrandbits(N) to return a random integer N bits long. The re module was extended to allow simple conditional expressions in regular expressions. In addition, the underlying SRE engine is now non-recursive (previously, certain types of regular ...
Released: May 26, 2025
Here's the second 3.14 beta. https://www.python.org/downloads/release/python-3140b2/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b2, is the first of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes …
...files. Dave Kuhlman's free book and other collection of tutorials is also a very good resource for educators. Andrew Harrington's hands-on tutorial is suitable for high school and university-level CS-0 students. Dr. Harrington teaches at Loyola University Chicago. Textbooks and other non-free books While there are a number of free books and tutorials available, some people prefer to have an actual copy on paper. If you are among this group, you might be surprised to learn that there are close...
...reading FUD about Python 3 adoption inherent in their reliance on only automated processes which rely on project maintainers to not be lazy. By allowing select people (initially) to mark projects as supporting Python 3 this will get around those limitations. Think http://getpython3.net/ but with PyPI project tie-in for detecting Python 3 support and (hopefully) a more pro-active search for projects by the community. There will also be more metrics for measuring project popularity to provide vari...
...files larger than 2 gigabytes (provided you have enough disk space, and are using a Windows filesystem that supports large partitions). Windows filesystem limits: FAT has a 2GB (gigabyte) filesize limit, and large file support makes no difference there. FAT32's limit is 4GB, and files >= 2GB are easier to use from Python now. NTFS has no practical limit on file size, and files of any size can be used from Python now. The w9xpopen hack is now used on Windows NT and 2000 too when COMPSPEC poi...
...files a lot more readable. Most of the portability hacks were moved to a new header file, pyport.h; several other new header files were added and some old header files were removed, in an attempt to create a more rational set of header files. (Few of these ever need to be included explicitly; they are all included by Python.h.) Trent Mick ensured portability to 64-bit platforms, under both Linux and Win64, especially for the new Intel Itanium processor. Mick also added large file s...
...external interface and no data is sent to or received from the Internet. So, if you get such a dialog when opening IDLE, asking whether to let pythonw.exe talk to address 127.0.0.1, say yes, and rest assured no communication external to your machine is taking place. If you don't allow it, IDLE won't be able to start. What's New in Python 2.3 release candidate 2? Release date: 24-Jul-2003 Core and builtins It is now possible to import from zipfiles containing additional data bytes before ...
...external version of Tcl/Tk. This is an Aqua Cocoa Tk. Apple 8.5.9 This release is included in macOS 10.7 through at least macOS 10.14. As of this writing, there are at least two known issues with Tk 8.5.9 that are present in Apple 8.5.9 Tk but fixed in more recent upstream 8.5 releases. The more serious problem is an immediate crash in Tk when entering a composition character, like Option-u on a US keyboard. (This problem is documented as Tk bug 2907388.) There is also the more general problem...
...reading through the new "io" library is now thread-safe. Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to menu entries were not deleted. Remove the TarFileCompat class from tarfile.py. Issue #2491: os.fdopen is now almost an alias for the built-in open(), and accepts the same parameters. It just checks that its first argument is an integer. Issue #3394: zipfile.writestr sets external attributes when passed a file name rather than a ZipInfo instance, so files are...
...reading and writing plist files: readPlist(pathOrFile) and writePlist(rootObject, pathOrFile) Tools/Demos The text file comparison scripts ndiff.py and diff.py now read the input files in universal-newline mode. This spares them from consuming a great deal of time to deduce the useless result that, e.g., a file with Windows line ends and a file with Linux line ends have no lines in common. What's New in Python 2.4 alpha 3? Release date: 02-SEP-2004 Core and builtins SF patch #1007189:...
...files to more easily consumed formats such as HTML and PDF. The video announcing Georg's award at OSCON 2011 is available on YouTube. Georg is a PhD student of Physics. He works at the Munich research reactor slash neutron source on magnetism, researching novel materials for the computing of tomorrow. He uses Python to control experiments consisting of dozens of individual devices, and for teaching other scientists how to do so efficiently. When he is not working on Python-related projects, Geor...
Python Success Stories This article was previously published on Builder.com Introduction Software engineers have long told their bosses and clients that they can have software "fast, cheap, or right," as long as they pick any two of those factors. Getting all three? Forget about it! But United Space Alliance (USA), NASA's main shuttle support contractor, had a mandate to provide software that meets all three criteria. Their experience with Python told them NASA's demands were within...
...files, including a flex input file for lexical analysis, a bison input file, containing the LALR(1) grammar, a SWIG input file, containing a Python extension module, a Makefile, controlling the build process of all compiled files, and a number of Python wrapper files to expose the parser to Python. flex, bison, and SWIG are invoked to generate C code, The C code is compiled to form an extension module. Recently, this build procedure was completely r...
...reading uses the PTHREAD_SCOPE_SYSTEM attribute where available. This should remove the need to add tiny sleeps at the start of threads to allow other threads to be scheduled. Lib/asyncore is now more defensive in select() Lib/dumbdbm is now merely dumb, rather than terminally broken. SF bug #441712: more liberal handling of ftp servers' 227 responses (don't require parentheses). SF bug #440693: make sure zip files use "/" as directory separator. If 'unittest.py' was run from the comma...
If you didn't find what you need, try your search in the Python language documentation.