[PYTHON DOC-SIG] Gendoc

Daniel Larsson dlarsson@sw.seisy.abb.se
Tue, 25 Mar 1997 09:14:42 +0100


Raymond Sui wrote:
> 
> Hello Out There,
> 
> I have just started playing around with gendoc. I untarred the whole thing
> and tried running it against a python file.
> 
> However, I seem to come across the following problem:
> 
> *** Importing gendoc
> Collecting information
> Generating documents for HTMLg
> Traceback (innermost last):
>   File "./gendoc", line 7, in ?
>     gendoc.main()
>   ...
>   File "./gendoc/formatters/HTMLgenFormatter.py", line 88, in html_rc
>     import __
> ImportError: No module named __
> 
> Does anybody out there know what the "__" module refers to?  I tried looking
> through some python books but found nothing specifically related to this.
> 
> Regards,
> Raymond
> 

__ refers to the "package module". There is a description about
packages in the docstring in ni.py. How is your sys.path defined?

-- 
Daniel Larsson, ABB Industrial Systems AB

_______________
DOC-SIG  - SIG for the Python Documentation Project

send messages to: doc-sig@python.org
administrivia to: doc-sig-request@python.org
_______________