[Tutor] i need to see a var from any where in my app - im clueless

pxlpluker pxlpluker at cfl.rr.com
Wed Apr 13 22:19:05 CEST 2005

i have read the book and searched the group too
im not gettin it.
i want to read a global (OPTIONS) from file1 from a class method
(func1) in file2
but i cant see the OPTION from func1

import file2
import sys

OPTION = sys.argv[1:]

import __main__
class class1:
.    def func1(self):
.        pass

More information about the Tutor mailing list