Im tryin to call a var thats sitting in a function, example:

class someclass(object):
         somevar = open(blah, 'r').readlines()


def something():

        for line in somevar:
             print line
-----------------------------------------------------------------------

i  guess im not graspng the whole global or local var topic..

Any examples??

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to