ok, sorted. I had thought that when a module was imported, it was added to a larger shared namespace used by all the modules. And yes, you are all correct; the "global numpy" thing was an illusion caused by saving the file at the wrong time after making a few changes.