Re: How to get self reference from within a module?

2007-01-24 Thread Lavoie Érick
I finally found what I was searching for here: http://www.thescripts.com/forum/thread25264.html I wanted the reference to the current module and we can obtain it this way: sys.modules[__name__] so its property can be used. Thanks, Erick -- http://mail.python.org/mailman/listinfo/python-lis

How to get self reference from within a module?

2007-01-22 Thread Lavoie Érick
Hi, i would like to now how to get a self reference from within a module. The goal is to be able to generate a list of all declared function within the module. Thanks, Erick -- http://mail.python.org/mailman/listinfo/python-list