Python examples / recipes / howto's
finditer regular expression examples
- How to remove C style comments using Python (posted 11/28/2007)
- Using Python's finditer to highlight search items (posted 10/16/2007)
- Using Python's finditer for Lexical Analysis (posted 10/16/2007)
- Python finditer regular expression example (posted 10/03/2007)
dict and list examples
- How to use Python's enumerate and zip to iterate over two lists and their indices. (posted 4/18/2008)
- How to invert a dict in Python (posted 1/14/2008)
- How to find the intersection and union of two lists in Python (posted 1/03/2008)
- Tabular data structure conversion in Python (posted 12/20/2007)
- Iterating through two lists in parallel using zip() (posted 12/19/2007)
- How to convert a dictionary of lists to a list of lists in Python (posted 12/10/2007)
- How to convert a list of dictionaries to a list of lists in Python (posted 12/10/2007)
- How to sort a table by columns in Python (posted 12/05/2007)
- How to copy Python lists or other objects (posted 11/29/2007)
- How to sort a Python dict (dictionary) by keys (posted 9/13/2007)
misc python examples
- Working with files and directories in Python (posted 4/14/2008)
- Notes on Python variable scope (posted 1/09/2008)
- Saving a Python dict to a file using pickle (posted 1/07/2008)
- How to use *args and **kwargs in Python (posted 1/03/2008)
- How to pass command line arguments to your Python program (posted 12/20/2007)
- How to get syntax highlighting in Blogger with Pygments (posted 12/05/2007)
- Python circular buffer (posted 11/29/2007)
- Migrating Excel data to SQLite using Python (posted 11/27/2007)
- python sleep (posted 11/15/2007)
- Relational database introduction with Python and SQLite (posted 11/14/2007)
- How to get current working directory in Python (posted 11/02/2007)
- Python profiling of 2 string concatenation techniques (posted 10/09/2007)
- Python word wrap function (posted 9/21/2007)
- Python os.walk example (posted 3/15/2007)
- How to use python and popen4 to capture stdout and stderr from a command (posted 3/12/2007)
- How to install Easy Install for python (posted 1/10/2007)
matplotlib examples
- How to draw a simple line using python and the matplotlib API - (posted 1/05/2007)
- How to use the pylab API vs. the matplotlib API (posted 1/04/2007)
- How to create some derived arrow classes with matplotlib and python (posted 1/03/2007)
- How to draw an arrow with matplotlib and python (posted 1/02/2007)
- Example pie charts using python and matplotlib (posted 12/19/2006)
Django examples
- Django project #3: Creating models (posted 11/28/2007)
- Django project #2: SQLite setup (posted 11/15/2007)
- Django project #1: Install (posted 11/09/2007)
Post a comment
About
I'm Eliot and this is my notepad for programming topics such as Python, Django, Ubuntu, Emacs, etc... more »
Search Blog
Tags
-
algorithms
(5)
-
aws
(9)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(13)
-
conkeror
(2)
-
core
(2)
-
cygwin
(17)
-
datastructures
(14)
-
datetime
(4)
-
decorators
(4)
-
django
(40)
-
emacs
(22)
-
files_directories
(11)
-
git
(5)
-
hardware
(5)
-
install_setup
(8)
-
javascript
(3)
-
keyboard
(9)
-
matplotlib
(5)
-
mercurial
(4)
-
nginx
(2)
-
persistence
(5)
-
preferences
(7)
-
processes
(4)
-
pyqt
(18)
-
python
(144)
-
ratpoison
(3)
-
regexes
(6)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(14)
-
ssh
(10)
-
subversion
(6)
-
twisted
(7)
-
ubuntu
(65)
-
urxvt
(5)
-
vxworks
(25)
-
webdev
(5)
-
wmii
(7)
Blogroll
- Adam Gomaa
- Alex Clemesha
- Amir Salihefendic
- Armin Ronacher
- David Beazley
- David Ziegler
- Duncan McGreggor
- Gareth Rushgrave
- Glyph Lefkowitz
- Guido van Rossum
- Ian Bicking
- Jacob Kaplan-Moss
- James Bennett
- James Tauber
- Jesper Noehr
- Marty Alchin
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan