Skip to content

Instantly share code, notes, and snippets.

@louiedinh
louiedinh / getopt.py
Created November 4, 2012 18:25
An annotated version of Python's getopt module.
# -*- coding: iso-8859-1 -*-
"""Parser for command line options.
This module helps scripts to parse the command line arguments in
sys.argv. It supports the same conventions as the Unix getopt()
function (including the special meanings of arguments of the form `-'
and `--'). Long options similar to those supported by GNU software
may be used as well via an optional third argument. This module
provides two functions and an exception:
@louiedinh
louiedinh / about.md
Created March 2, 2012 21:16 — forked from basus/about.md
Programming Achievements: How to Level Up as a Developer

Programming Achievements: How to Level Up as a Developer

  1. Select a particular experience to pursue.
  2. Pursue that experience to completion. (Achievement unlocked!)
  3. Reflect on that experience. Really soak it in. Maybe a blog post would be in order?
  4. Return to Step 1, this time selecting a new experience.

This gist is a fork of this other gist which is itself a fork of a gist from this blog post.

@louiedinh
louiedinh / about.md
Created August 9, 2011 18:45 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer