how to pass globals across modules (wxPython)

Jorge Luiz Godoy Filho godoy at ieee.org
Tue Dec 21 10:47:11 EST 2004


Peter Hansen, Segunda 20 Dezembro 2004 08:01, wrote:

> An even better approach might be to find a way to avoid
> having to access the main window through a global, but
> I'll have to leave this up to you, as it may depend on
> your program structure.

This might be a problem also to share a database connection, where one needs
to pass the open and authenticated connection to several specialized
modules. 

Maybe a module where you can access that should be a better option...

Be seeing you,
Godoy.



More information about the Python-list mailing list