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.
Python Success Stories Introduction Journyx Timesheet (tm) is a commercial application that provides time, expense, and project tracking. In 1996, Curt Finch, Journyx CEO and founder, was working in the staffing industry when he saw an opportunity to use the web to accurately collect and store employee timesheet information. Journyx Time Entry Screen Zoom in The first version of Timesheet focused on collecting accurate cost information, with an eye towards applying that data in the formul...
Python Success Stories Introduction Tribon Solutions develops, markets and supports CAD/CAM/CIM software solutions, with the mission of increasing overall efficiency in the maritime industry. For more than 30 years the company has provided shipyards, design agents and maritime equipment suppliers with new ways to improve cost efficiency, quality and performance. Our solutions are proven to generate time savings and to increase speed to market. With its head office in Sweden and offices in the...
Python Distutils-SIG: Proposed User Interface Python Distutils-SIG Proposed User Interface In addition to identifying the common tasks and division of labour involved in developing, distributing, and installing Python modules, the "Extension Building Considered Painful" Developer's Day Session also came up with a proposed user interface. The core idea of the interface is that the module developer would provide a small Python script, called setup.py ...
Comparing Python to Other Languages Comparing Python to Other Languages Disclaimer: This essay was written sometime in 1997. It shows its age. It is retained here merely as a historical artifact. --Guido van Rossum Python is often compared to other interpreted languages such as Java, JavaScript, Perl, Tcl, or Smalltalk. Comparisons to C++, Common Lisp and Scheme can also be enlightening. In this section I will briefly compare Python to each of these languages. These comparison...
Foreword for "Programming Python" (2nd ed.) Foreword for "Programming Python" (2nd ed.) This is the foreword I wrote for Mark Lutz' book "Programming Python" (2nd ed.), published by O'Reilly in 2001. Less than five years ago, I wrote the foreword for the 1st edition of Programming Python. Since then, the book has changed about as much as the language and the Python community! I no longer feel the need to defend Python: the statistics and developments listed in Mark's ...
Python 2.3.5 Python 2.3.5 We're happy to announce the release of Python 2.3.5 (final) on Feb 8th, 2005. This is a bug-fix release for Python 2.3. There have been around 50 bugs fixed since 2.3.4 - in the Python interpreter, the standard library and also in the build process - see the release notes for details. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode ...
Community Stories Packaging People who need to install Python packages get confused a lot. That's not their fault; that's because the volunteers who maintain the packaging tools don't have enough time to get everything organized so that it's clear and easy to use. In the last few years, the PSF has gotten grants and used that money to massively improve packaging. We overhauled PyPI and we're making pip more consistent, with genuine attention to user experience. With more funding, we can finall...
Foreword for "Programming Python" (1st ed.) Foreword for "Programming Python" (1st ed.) This is the foreword I wrote for Mark Lutz' book "Programming Python" (1st ed.), published by O'Reilly. See also my foreword to the 2nd edition. As Python's creator, I'd like to say a few words about its origins, adding a bit of personal philosophy. Over six years ago, in December 1989, I was looking for a "hobby" programming project that would keep me occupied during the we...
...InterpreterState_New() and PyThreadState_New() are two of the very few advertised as being safe to call without holding the GIL. However, this wasn't true in a debug build, as bug 1041645 demonstrated. In a debug build, Python redirects the PyMem family of calls to Python's small-object allocator, to get the benefit of its extra debugging capabilities. But Python's small-object allocator isn't threadsafe, relying on the GIL to avoid the expense of doing its own locking. PyInterpreterState_Ne...
...interpreters, the built-in class objects (being statically allocated data structures) are shared between all interpreters; thus, code running in one interpreter might wreak havoc on another interpreter, which is a no-no. Static methods and class methods The new descriptor API makes it possible to add static methods and class methods. Static methods are easy to describe: they behave pretty much like static methods in C++ or Java. Here's an example: class C: def...
...interpreters, the built-in class objects (being statically allocated data structures) are shared between all interpreters; thus, code running in one interpreter might wreak havoc on another interpreter, which is a no-no. Static methods and class methods The new descriptor API makes it possible to add static methods and class methods. Static methods are easy to describe: they behave pretty much like static methods in C++ or Java. Here's an example: class C: def foo(x, ...
...interpreters for packages which use Distutils, by using the command "python2.3 setup.py bdist_rpm". <hr /> <li />Q) How do I build a version of these RPMs which will install as System Message: ERROR/3 (<string>, line 131) Unexpected indentation. "/usr/bin/python". System Message: WARNING/2 (<string>, line 132) Block quote ends without a blank line; unexpected unindent. <li />A) First of all, realize that you are likely to break many Red Hat ...
...interpreters for packages which use Distutils, by using the command "python2.4 setup.py bdist_rpm". <hr /> <li />Q) How do I build a version of these RPMs which will install as System Message: ERROR/3 (<string>, line 133) Unexpected indentation. "/usr/bin/python". System Message: WARNING/2 (<string>, line 134) Block quote ends without a blank line; unexpected unindent. <li />A) First of all, realize that you are likely to break many Red Hat ...
...interpreters for packages which use Distutils, by using the command "python2.3 setup.py bdist_rpm". <hr /> <li />Q) How do I build a version of these RPMs which will install as System Message: ERROR/3 (<string>, line 145) Unexpected indentation. "/usr/bin/python". System Message: WARNING/2 (<string>, line 146) Block quote ends without a blank line; unexpected unindent. <li />A) First of all, realize that you are likely to break many Red Hat ...
Highlights: Python 2.4 Highlights: Python 2.4 Here are the (subjective) highlights of what's new in Python 2.4. Faster A number of modules that were added in Python 2.3 (such as sets and heapq) have been recoded in C. In addition, there's been a number of other speedups to the interpreter. (See section 8.1, Optimizations, of the "What's New" document for more). New language features multi-line imports - when using imports in the form from foo import bar, baz, bing, bang, you c...
EDU-SIG: Python in Education EDU-SIG: Python in Education More and more, Python is making inroads at all levels in education. Python offers an interactive environment in which to explore procedural, functional and object oriented approaches to problem solving. Its high level data structures and clear syntax make it an ideal first language, while the large number of existing libraries make it suitable to tackle almost any programming tasks. Edu-sig, through its mailing list, provides an infor...
If you didn't find what you need, try your search in the Python language documentation.