GinTon wrote:
> Sorry, I mean access to local variable from a method
> 
> import module
> method(value)
> 
> I would to access to values that are created locally in that method

after the method has executed? usually the return value?
or you want to get all local variables, then make a func/method

def f(a=1):
    b=2
    c=3
    return locals()  #X/Object(locals())


--------


d=module.f()
print d['c']         # d.c
   




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

Reply via email to