polymerchm last edited by
I noticed tonight that if I run one script using numpy (as np), then run diffferent script where the variable has the same name (no numpy this time), the second script complains about the variable being in the numpy namespace . So.... how do I completely unload all modules and clear the namespaces without rebooting pythonista altogether?
dgelessus last edited by
You might want to modify the second script to either
del npor assign something else to
npbefore using it. Shouldn't you get a
NameErrorbecause of the missing variable otherwise?