About ads on Siafoo
Hide Siafoo is here to make coding less frustrating and to save you time. Learn More Join Siafoo
Articles
Showing 1 - 10 of 17 Showing 1 - 10 of 17 1 2
About ads on Siafoo
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.
Showing 1 - 10 of 17 Showing 1 - 10 of 17 1 2