Re: Referencing a variable in main from an imported module

2002-06-01 Thread Syver Enstad
Kári Harðarson <[EMAIL PROTECTED]> writes: > Hi all, > > I write Python .ASP pages that import utility modules that I have also > > written. > > The utility modules need to access globally defined objects > such as the Session and Response objects. > > They are defined in global scope, howeve

Referencing a variable in main from an imported module

2002-05-30 Thread Kári Harðarson
Hi all, I write Python .ASP pages that import utility modules that I have also written. The utility modules need to access globally defined objects such as the Session and Response objects. They are defined in global scope, however. How can I access these objects from the imported module ? Th