how can I reload 'from *' ?
Michael Hudson
mwh21 at cam.ac.uk
Fri May 26 10:40:35 EDT 2000
More information about the Python-list mailing list
Fri May 26 10:40:35 EDT 2000
- Previous message (by thread): XML-package for Windows
- Next message (by thread): how can I reload 'from *' ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
noemail at nowhere.hades (Mike Cat) writes: > Hi! > > How can I reload things imported with 'from HUGO import *' ? import HUGO reload(HUGO) from HUGO import * or reload(sys.modules["HUGO"]); from HUGO import * (another reason not to use "import *"...) Cheers, M. -- 40. There are two ways to write error-free programs; only the third one works. -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
- Previous message (by thread): XML-package for Windows
- Next message (by thread): how can I reload 'from *' ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list