faqts : Computers : Programming : Languages : Python : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 10 people (90%) answered Yes
Recently 4 of 5 people (80%) answered Yes

Entry

How can I reload things imported with 'from HUGO import *'?

May 27th, 2000 06:22
unknown unknown, Michael Hudson


import HUGO
reload(HUGO)
from HUGO import *

or

reload(sys.modules["HUGO"]); from HUGO import *

(another reason not to use "import *"...)