On 3 Dic, 11:26, Samuel <newsgro... at debain.org> wrote: > Does anyone know an easy way to extract the API documentation that is > embedded into a Python file as a text file? > > -Samuel Something like this? print >> open('file.txt', 'w'), dir.__doc__