I'm having a problem importing a package in python, deleting some of what's been imported, and then reimporting.  (I'm the sure the problem is trivial, but I just don't understand it.)<br><br>I have a directory of python modules called Operations.  It contains a python module called archive.py.    Here's a import of the archive module via package import:<br>
<br>  Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)  <br>  [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin<br>  Type "help", "copyright", "credits" or "license" for more information.<br>
  >>> import Operations.archive<br>  >>> Operations.archive<br>  <module 'Operations.archive' from 'Operations/archive.pyc'><br><br>So  far, so good. <br><br>But now, suppose I want to delete Operations.archive.  then, I can't reimport it.  instead, I <br>
<br>   >>> del Operations.archive<br>   >>> import Operations.archive<br>   >>> dir()<br>     ['Operations', '__builtins__', '__doc__', '__name__']<br>   >>> <br>
<br>Instead of getting 'Operations.archive', I just seem to get 'Operations'.    <br><br>I can't seem to be able to import Operations.archive without quitting the python interpreter and starting again.   <br>
<br>What's going on here, and how do I fix it?<br><br>Thanks,<br>Dan<br><br><br>