This small script named sourcecode.py
is a command line tool to open a python module's source file with the default editor. For example the line
$ python sourcecode.py xml.dom.minidom
opens the file minidom.py from the python distribution with the default editor. The same works with user-defined modules having a python source file.