On 6/7/14 1:40 PM, 1989lzhh wrote:
Here is the code
def f():
     print globals()

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

Looking at the code you have posted in your two messages so far, it seems like you are building something very interesting and ambitious. Do you mind talking a bit about what it is?

Ned Batchelder, http://nedbatchelder.com


Reply via email to