This is a small collection of various tricks and hints that I have stumbled across while programming in Python. Some are trivial, and some are a bit more tricky. Feel free to steal shamelessly from this collection. :-) Contents
Read more: Python Tricks and Hints
QR:
- Emulating "?:"
- Checking the Python version
- Debugging CGIs
- Parallel sorting of lists
- Normalizing a MAC address
- Sorting IP addresses
- Parsing command line options
- Mixing Python and shell scripts
- Converting signal numbers to names
Read more: Python Tricks and Hints
QR:
0 comments:
Post a Comment