Import Issue
Maric Michaud
maric at aristote.info
Fri Jun 2 07:22:14 EDT 2006
Le Vendredi 02 Juin 2006 08:42, praveenkumar.117 at gmail.com a écrit :
> Hi all,
> After doing import file i am updating that file. Later i am
> accessing a dictionary contained in that
> file. Eventhough changes are reflected in the file... When i
> access a dictionary those changes are
> not there. I believe that it is accessing from the object
> file that is created when i did import at
> the start of the script. I will be kind enough if somebody
> suggest solution to this problem.
Read in the doc the reload builtin description to understand what happens.
But as Albert said before, don't do that !
--
_____________
Maric Michaud
_____________
Aristote - www.aristote.info
3 place des tapis
69004 Lyon
Tel: +33 426 880 097
More information about the Python-list
mailing list