How to resolve :Enthought Canopy: User-defined module not getting updated in code

titanic_survival
python

#1

Hello,

I’m using Enthought Canopy environment for running Python 2.7.

I’ve created a script named “preProcess_titanic.py” which contains a pre_process function. I’m importing this script into main script using:

from preProcess_titanic import pre_process

But the changes I’m making in the “preProcess_titanic.py” script are not reflecting while running the main script. These turn up only when I restart the Canopy application.

Please suggest any remedies.

Thanks,
Aarshay