[Pythonmac-SIG] Newbie environment questions

Ken Brooks ken at sparklight.com
Tue Jan 17 18:10:22 CET 2006

1. I create a window, define my little function in it, save it as "foo.py", then:
      I>>> import foo

   I now find a bug, or want to add more functions to foo.py.  I edit, save, and:
      I>>> import foo
   nothing changes!  New functions not recognized.

      I>>> del foo
      I>>> import foo
   Still nothing changes!  So how does the debug loop work?  How can I reload a module short of relaunching the environment??

2. I really wish for the "doskey" feature that lets you easily retrieve and edit a line previously typed to the interactive interpreter.  Does it exist here?  (Do you think it would be easy to add?)

Ken Brooks	
Sparkling Light Software	

More information about the Pythonmac-SIG mailing list