Use optparse.OptionParser to parse script arguments.
-rw-r--r-- 588 README
-rwxr-xr-x 18675 depgraph2dot.py
-rwxr-xr-x 2884 py2depgraph.py