Hi all,

when I have a PyCodeObject, is there any way to extract a doc string
from the code?
For instance the following script

<---script---->
"""
Hello World!
"""
def main():
    pass
main()
</---script--->

I would like to get "Hello World!". Any chance? Thanks in advance!!

Bye, moerchendiser2k3
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to