It works for any module in your path, including your current directory. Supposer you have /home/myname/mymodule.py do the following: $ cd /home/myname $ pydoc -g open the browser and you will see the documentation for mymodule.py just below the documentation for the builtin modules. Michele Simionato