namespaces

Paul Rubin http
Sun Jul 31 07:22:12 EDT 2005


Paolino <paolo_veronelli at tiscali.it> writes:
> What I'm needing as a global (in globals() or at the module level or
> in the module namespace) is 'translate'.The rest of bindings
> (all,badcars and table) is something which is 'polluting' the module
> namespace.

do you want
    __all__ = ['translate']
?



More information about the Python-list mailing list