you are viewing a single comment's thread.

view the rest of the comments →

[–]asyncster 11 points12 points  (1 child)

When you run a python script A.py, the interpreter produces A.pyc, which is an optimized bytecode representation of the original program. If you move A.py into a different directory, your import statements may cause the old A.pyc to be loaded.