Articles
|
|
|
tricks | (3) |
|
|
tips | (3) |
|
|
MooTools | (2) |
|
|
decorators | (2) |
|
|
PostgreSQL | (2) |
|
|
Firefox | (2) |
|
|
nose | (2) |
|
|
nosetests | (2) |
|
|
classes | (2) |
|
|
functions | (2) |
|
|
tab focus | (1) |
|
|
select box | (1) |
|
|
substrings | (1) |
|
|
iterate | (1) |
|
|
NumPy | (1) |
|
|
MooTools 1.2 | (1) |
|
|
events | (1) |
|
|
how-to | (1) |
|
|
command-line option | (1) |
|
|
list operators | (1) |
|
|
Win32 | (1) |
|
|
lambda functions | (1) |
|
|
zip | (1) |
|
|
switch statements | (1) |
|
|
quotes | (1) |
|
|
list comprehensions | (1) |
|
|
backwards compatibility | (1) |
|
|
dictionary comprehensions | (1) |
|
|
OpenGL | (1) |
|
|
generator expressions | (1) |
|
|
beforeunload | (1) |
|
|
reduce | (1) |
|
|
strings | (1) |
|
|
console | (1) |
|
|
POSIX | (1) |
|
|
GeoIP | (1) |
|
|
caching | (1) |
|
|
map | (1) |
|
|
filter | (1) |
|
|
debug | (1) |
|
|
wxWidgets | (1) |
|
|
Pylons | (1) |
|
|
truthfulness | (1) |
|
|
reload | (1) |
|
|
browser compatibility | (1) |
|
|
PyOpenGL | (1) |
|
|
type checking | (1) |
|
|
upgrade | (1) |
|
|
lexers | (1) |
|
|
process launch | (1) |
|
|
dictionaries | (1) |
|
|
python | (1) |
Want to write shorter, cleaner code? Have an unfortunate situation where you need to fit as much as you can in one expression? Prefer a quick dose of hacks to spending the rest of your life...
Need to override an operator in your Python class? Ever wonder what all those double-underscore class methods do? Here's your answer. Note that this is a work in progress, feel free to add to it...
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...
A quick overview of the necessary code for spawning a sub-process under Windows, Linux (POSIX API) and wxWidgets.
Describes the necessary steps required to load the MaxMind GeoIP City database into a PostgreSQL database.
Using Nose to run unittests? Want to run the tests under different conditions? Learn how to add your own command-line options to nosetests with nose plugins.
You shouldn't type-check in Python, but if you do, know what method is best. We discuss the pros and cons of built-in functions 'type' and 'isinstance' and property '__class__'.
A short tutorial on adding more builtins to your favorite language.
More of a wiki page than an article, containing notes, tips and guidelines for writing OpenGL applications with PyOpenGL.
When you reload a page with a selection box in it, Firefox keeps the selection box at its old option, even if the default in the HTML has changed. To fix it, add 'autocomplete="off"' to your form.