Here is the code
m1.py
def f():
    print globals()

m2.py
from m1 import f
f()# how to get current module's globals?



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

Reply via email to