class test(test1):

    def __init__(self, device):
      .
      .
      .
    def _something(self, x=1)
     self.dt = data

if __name__ == "__main__":
     test.something.dt ???

I am trying to call a variable located in a function of a class from
main but couldn't succeed.Any ideas?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to