[Pythonmac-SIG] The edit/test cycle
Matthew Barre
mbarre@mac.com
Tue, 04 Apr 2000 16:44:24 -0500
Maybe I'm overlooking something but what about using
reload(module_name)
-Matt
---------
"Luck will often enough save a man, if his courage hold." -Buliwyf
> From: "Louis M. Pecora" <pecora@anvil.nrl.navy.mil>
> Date: Tue, 4 Apr 2000 17:30:23 -0400
> To: pythonmac-sig@python.org
> Subject: [Pythonmac-SIG] The edit/test cycle
>
> I'm trying to get started on the "edit/test" cycle of developing python
> modules. One thing that immediately stumped me on my Mac is that I can define
> a path, put a file there (module with functions), and import it. But when I
> alter something in the file it does not show up in the interpreter (IDE). If
> I try to import again, nothing changes. Only quitting the IDE, launching it,
> again, and importing the module again gets the changes in place. How does one
> do the development when constant changes are necessary and need to be tested?
> Thanks for any help.
>
>
>
> Cheers,
>
> Lou Pecora
>
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://www.python.org/mailman/listinfo/pythonmac-sig
>