Explore our sites Stack Exchange sign up log in tour help careers 2.0 Stack Overflow Ask Question Take the 2-minute tour × python - How to disable the OptionParser default help view? - Stack Overflow - Vimperator python - How to disable the OptionParser default help view? - Stack Overflow - Vimperator
Extension writing - Vimperator Some hints Here are some hints to start you off while you think about writing your killer module. As much as possible, make the top-level symbols static. It is useless to populate the global C name-space by exporting symbols needlessly. Use forward declarations judiciously. Extension writing - Vimperator
Python Types and C-Structures — NumPy v2.0.dev-861e227 Manual (DRAFT) - Vimperator Python Types and C-Structures — NumPy v2.0.dev-861e227 Manual (DRAFT) - Vimperator Several new types are defined in the C-code. Most of these are accessible from Python, but a few are not exposed due to their limited use. Every new Python type has an associated PyObject * with an internal structure that includes a pointer to a “method table” that defines how the new object behaves in Python. When you receive a Python object into C code, you always get a pointer to a PyObject structure. Because a PyObject structure is very generic and defines only PyObject_HEAD, by itself it is not very interesting.
Freeze - PythonInfo Wiki - Vimperator Freeze - PythonInfo Wiki - Vimperator Freeze is a "pure Python" utility that ships with Python. You can use Freeze to compile executables for Unix systems. If you want to write Python, but you don't know if your clients have Python installed, use this!
Inno Setup Downloads Want to be notified by e-mail of updates? Then click here to sign up for the Inno Setup update notification mailing list. Inno Setup Downloads - Vimperator Inno Setup Downloads - Vimperator
Main Page - NSIS - Vimperator

Main Page - NSIS - Vimperator

NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution. Being a user's first experience with your product, a stable and reliable installer is an important component of succesful software.
How to create Windows executable (.exe) from Python script - Vimperator Python is a simple and powerful language for scripting and even application development. Various GUI packages available for Python makes it suitable for developing full fledged applications in python. Ok that is fine, but ever thought of creating an executable file from the python script you wrote? This seems to be a nice idea, there are many reasons why! You can redistribute your application without python. The end user needn't to install python on his machine. How to create Windows executable (.exe) from Python script - Vimperator
PEP 318 -- Decorators for Functions and Methods - Vimperator PEP 318 -- Decorators for Functions and Methods - Vimperator PEP Index> PEP 318 -- Decorators for Functions and Methods This document is meant to describe the decorator syntax and the process that resulted in the decisions that were made. It does not attempt to cover the huge number of potential alternative syntaxes, nor is it an attempt to exhaustively list all the positives and negatives of each form.
The ExplorerThings to Know About Python Super [1 of 3]by Michele SimionatoAugust 12, 2008 Summary super is perhaps the trickiest Python construct: this series aims to unveil its secrets I begun programming with Python in 2002, just after the release of Python 2.2. That release was a major overhaul of the language: new-style classes were introduced, the way inheritance worked changed and the builtin super was introduced. Therefore, you may correctly say that I have worked with super right from the beginning; still, I never liked it and over the years I have discovered more and more of its dark corners. Things to Know About Python Super [1 of 3] - Vimperator Things to Know About Python Super [1 of 3] - Vimperator
StringIO and cStringIO – Work with text buffers using file-like API - Python Module of the Week - Vimperator StringIO and cStringIO – Work with text buffers using file-like API - Python Module of the Week - Vimperator StringIO provides a convenient means of working with text in memory using the file API (read, write. etc.). There are two separate implementations. The cStringIO version is written in C for speed, while StringIO is written in Python for portability. Using cStringIO to build large strings can offer performance savings over some other string conctatenation techniques.
Python colored output - Siafoo - Vimperator
Unifying types and classes in Python 2.2 - Vimperator
smunix/boost.test-examples - GitHub - Vimperator
Want to have "scons test" run your unit tests? Here are two suggestions: running with an Alias running with Command See http://spacepants.org/blog/scons-unit-test for another suggestion. To have the process of adding unit test nicely encapsulated into an scons Tool, see the section below - "Unit Test integration with an scons Tool". UnitTests - SCons Wiki - Vimperator
scons

Be careful with exec and eval in Python | Armin Ronacher's Thoughts and Writings - Vimperator written on Tuesday, February 1, 2011 One of the perceived features of a dynamic programming language like Python is the ability to execute code from a string. In fact many people are under the impression that this is the main difference between something like Python and C#. That might have been true when the people compared Python to things like C. It's certainly not a necessarily a feature of the language itself. For instance Mono implements the compiler as a service and you can compile C# code at runtime, just like Python compiles code at runtime.
Decorators modify functions. Beginning with the basics, learn how to use decorators in a variety of ways. Execute code when a function is parsed or called. Conditionally call functions and transform inputs and outputs. Write customizable decorators that accept arbitrary arguments. And, if necessary, easily make sure your decorated function has the same signature as the original. Python Decorators Don't Have to be (that) Scary - Siafoo - Vimperator
User Guide 2.0.1
PyCXX: Write Python Extensions in C++ Barry Scott, barry@barrys-emacs.org The CXX Project Page at gives you access to the releases, the Subversion repository, and more. CXX/Objects is a set of C++ facilities to make it easier to write Python extensions. The chief way in which PyCXX makes it easier to write Python extensions is that it greatly increases the probability that your program will not make a reference-counting error and will not have to continually check error returns from the Python C API. PyCXX: Write Python Extensions in C++

s Python Class - Google's Python Class - Google Code

Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, lecture videos, and lots of code exercises to practice Python coding. These materials are used within Google to introduce Python to people who have just a little programming experience. The first exercises work on basic Python concepts like strings and lists, building up to the later exercises which are full programs dealing with text files, processes, and http connections. The class is geared for people who have a little bit of programming experience in some language, enough to know what a "variable" or "if statement" is.
[projects] View of /python/branches/release27-maint/Lib/sched.py
8.8. sched — Event scheduler — Python v2.7.1 documentation
8.10. queue — A synchronized queue class — Python v2.7.1 documentation
16.6. multiprocessing — Process-based “threading” interface — Python v2.7.1 documentation
struct – Working with Binary Data
20.17. SocketServer — A framework for network servers — Python v2.7.1 documentation
Concurrency
Is there a better Python IDE? « Lennart Regebro: Python, Plone, Web
UdpCommunication
The Python Standard Library ? Python v2.7.1 documentation
8.11. weakref — Weak references — Python v2.7.1 documentation
Parallel Python - Home
Documentation
pep

Unifying types and classes in Python 2.2
The Python Property Builtin
Python Network Programming
Python Network Programming : The Threading Module