Browse
| Showing 1 - 10 of 152 |
|
Showing 1 - 10 of 152 |
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...
A quick list of color formatting for python output. It helps make large amount of debug / info print statements more readable...
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...
Revised version of my run-away button.
I made this silly code in honor of the malicious week....
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....
Nosetests can't find your unit tests, but you know they exist?
| Showing 1 - 10 of 152 |
|
Showing 1 - 10 of 152 |