Python doesn`t read changes in external text-file

Heyho everyone,
again probaly an easy task for you guys… but I start getting grey hair with this…

Wrote a script which reads a simple external text-file during BGE-runtime (excecute once when clicking a Button).
When I launch blender and run BGE it does a good job.

But from that point on it doesn`t recognize any changes I do manually in the external text-file,
even when leaving runtime and launch it again…
Only when closing and opening Blender completely it does read the changes once again…

Didn`t change anything except the text-file content.
Any Ideas?

Thanks a lot for any advice! :slight_smile:

[ self edit ]

Forget about pythons basic import command it is pragma and caching, use the imp module and module=imp.reload(module) will reload the script, sometimes however submodules are still cached, python3 fixes this problem however so unless you are running pre blender2.5 then your good.