Re: [BangPypers] reload modules at the start of an app..

2012-07-14 Thread Vishal
On Sat, Jul 14, 2012 at 1:32 PM, Vishal wrote: > Hi, > > Wanted to find what you think about reloading modules just before app > start. This is to take care of repeated debugging sessions inside IDEs, > where changed 'py' files are not imported automatically by the IDE. > > One simple way of havi

[BangPypers] reload modules at the start of an app..

2012-07-14 Thread Vishal
Hi, Wanted to find what you think about reloading modules just before app start. This is to take care of repeated debugging sessions inside IDEs, where changed 'py' files are not imported automatically by the IDE. One simple way of having everything reloaded is to do: import sys for mod in sys.m