$ python -m compileall $dir
Install again and save list of installed files:
$ python setup.py install --record files.txt $ rm `cat files.txt`
Generate documentation from Python sources by pydoc:
$ mkdir html $ cd html $ pydoc -w ../
Generate documentation from Python sources by epydoc:
TODO
Generate documentation from Python sources by Sphinx:
$ sudo apt-get install python-sphinx $ sudo apt-get install rst2pdf
import pprint print(pprint.pformat('string')) print(pprint.pformat(['1', '2']))
See: