Global Objects...

KraftDiner bobrien18 at yahoo.com
Tue Aug 15 21:53:26 EDT 2006


I have a question..

myGlobalDictionary = dictionary()


class someClass:
   def __init__(self):
      self.x = 0;
   def getValue(self, v)
      myGlobalDictionary.getVal(v)


myGlobalDictionary doesn't seem to be visible to my someClass methods.
Why?  What should I do?




More information about the Python-list mailing list