-
Recent Posts
- Workaround for flask/babel/sphinx bug on Python 3+
- enum in Python
- Python Decorators
- Unicode – the basics
- Python’s magic methods
- Gotcha — Mutable default arguments
- Unicode for dummies — Encoding
- How to post source code on WordPress
- Python3 pickling
- Yet Another Lambda Tutorial
- Read-Ahead and Python Generators
- In Java, what is the difference between an abstract class and an interface?
- Newline conversion in Python 3
- Why import star is a bad idea
- Learning Subversion: the mystery of .svn
- How to fix a programmable Northgate keyboard
- Northgate keyboard repair
- An alternative to string interpolation
- A Globals Module pattern
- An Arguments Container pattern
- A Globals Class pattern for Python
- How to open a web browser from Python
- Command-line syntax: some basic concepts
- Unicode for dummies – just use UTF-8
- Unicode Beginners Introduction for Dummies Made Simple
- Multiple constructors in a Python class
- How do I reverse a string in Python 3?
- What’s wrong with use cases?
- Python Packages
- Diagram arrangements
- Python & Java: A Side-by-Side Comparison
- Static vs. dynamic typing of programming languages
- Debugging in Python
- Introduction to Python Decorators
- Gotcha — forgetting parentheses
- Gotcha — backslashes in Windows filenames
- Gotcha — backslashes are escape characters
- Python Gotchas
Categories
- Decorators (2)
- Java and Python (3)
- Keyboards (2)
- Miscellaneous (2)
- Moving to Python 3 (3)
- Python & JSD (1)
- Python debugger (1)
- Python features (9)
- Python Globals (3)
- Python gotchas (5)
- Software Development (2)
- Subversion (1)
- Unicode (4)
Category Archives: Miscellaneous
How to post source code on WordPress
This post is for folks who blog about Python (or any programming language for that matter) on WordPress. Updated 2011-11-09 to make it easier to copy-and-paste the [sourcecode] template. My topic today is How to post source code on WordPress. … Continue reading
Posted in Miscellaneous
23 Comments
Command-line syntax: some basic concepts
I’ve been reading about parsers for command-line arguments lately, for example Plac. And, as Michele Simionato says: There is no want of command line arguments parsers in the Python world. The standard library alone contains three different modules: getopt (from … Continue reading
Posted in Miscellaneous
4 Comments