Module access from inside itself

Steven dippy at mikka.net.au
Fri Aug 15 14:45:13 EDT 2003


On Sat, 16 Aug 2003 04:01:42 +1000, Just wrote:

>> How do I get a reference to the module from inside the module? Is this
>> the Pythonic way of generating help strings for CL scripts?
> 
> You can just access __doc__ directly. No module prefix neccesary.


Ah, I knew I was missing something obvious! Thank you to everyone who
answered.

-- 
Steven.




More information about the Python-list mailing list