How to call module functions inside class instance functions?

Zentrader zentraders at gmail.com
Sat Aug 18 22:04:15 EDT 2007


> By the way, the reason I am naming it __module_level_func() is because
> I'd like __module_level_func() to be private to the module, like the C
> static function. If the interpreter cannot really enforce it, at least
> it is some sort of naming convention for me.

re the above: set file permissions for testmodule.py to limit access.
IMHO it is a better solution.




More information about the Python-list mailing list