Re: noob: reloading modified python file within Python Shell

2007-09-10 Thread Robert Kern
johnny wrote: > from people.models import * > > Now I make changes to the models.py. How do I reload this module in > Python Shell? import people.models reload(people.models) from people.models import * -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigm

Re: noob: reloading modified python file within Python Shell

2007-09-10 Thread Diez B. Roggisch
johnny schrieb: > from people.models import * > > Now I make changes to the models.py. How do I reload this module in > Python Shell? > reload(module) which works only with import people.models reload(people.models) Which is better anyway, as the from module import * syntax will create lo

noob: reloading modified python file within Python Shell

2007-09-10 Thread johnny
from people.models import * Now I make changes to the models.py. How do I reload this module in Python Shell? -- http://mail.python.org/mailman/listinfo/python-list