Module imported into different scopes, do they both refer to the same object?
At the Spyder console (the REPL), I issue import matplotlib.pyplot as plt
. It is the topmost namespace, i.e., corresponding to globals()
.
At the Spyder console (the REPL), I issue import matplotlib.pyplot as plt
. It is the topmost namespace, i.e., corresponding to globals()
.