June 06, 2004

C/C++ extensions for Python

sebsauvage.net : Writing C/C Python extensions without Microsoft Visual C

Posted by daen at 11:09 PM

September 18, 2003

Python Resources

The Vaults of Parnassus: Python Resources

...great Cronos the wily was beguiled by the deep suggestions of Earth, [...] and he vomited up first the stone which he had swallowed last. And Zeus set it fast in the wide-pathed earth at goodly Pytho under the glens of Parnassus, to be a sign thenceforth and a marvel to mortal men.
--Hesiod, Theogony, 495-500.

Quite.

Posted by daen at 04:55 PM

August 28, 2003

Faster slithering

Python Performance Tips

Contents

Profiling Code
Profile Module
Trace Module
Sorting
String concatenation
Loops
Avoiding dots...
Local Variables
Initializing Dictionary Elements
Import Statement Overhead
Using map with Dictionaries
Data Aggregation
Doing Stuff Less Often

Posted by daen at 11:06 PM

July 28, 2003

Python

Python.org

I've wittered on here previously about Python without really explaining what it is ...

Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++. It is also usable as an extension language for applications that need a programmable interface. Finally, Python is portable: it runs on many brands of UNIX, on the Mac, and on PCs under MS-DOS, Windows, Windows NT, and OS/2.

Python is used by life science companies, NASA, Industrial Light and Magic, and apparently underpins Google.

And it's fun!

Posted by daen at 12:44 AM