reimport module

Emile van Sebille emile at fenx.com
Fri May 31 09:48:26 EDT 2002


Henning Peters
> The problem is, that python caches the file instead of rereading it so
that
> a change of the configuration and a later restart of the server would
take
> no effect.
>
> Is it possible to flush this cache or is it better to implement an own
> config parser instead of using a python file as config file?


Have you tried

reload (module)

--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list