Browse
| Showing 1 - 10 of 97 |
|
Showing 1 - 10 of 97 |
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...
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__'.
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 backwards compatibility library for Mootools 1.2, in addition to those by MooTools. Should fix most remaining backwards-compatibility problems....
Renames TV episode files to a standardized format (i.e. Show Name - 1x01). On OS X, uses AppleScript to set the old name of the file to the comments section (if comments is blank) and hides the file...
Says something scary every hour with a random voice. If run in the background the terminal can be closed and it will keep going....
Traverses a directory tree (or a single file) and converts tabs to spaces. Color-coded output makes it easy to determine changed and unchanged files and read/write errors....
Converts words to pig-latin! Also there is some cool regex magic.
Learn how to do new things in Pylons. Create one app to be middleware for others, without overwriting the configuration of one of them. Make internal redirects. Configuring multiple apps in one...
| Showing 1 - 10 of 97 |
|
Showing 1 - 10 of 97 |