March 15th, 2013, 02:33 AM
I have two python files with the same name let say TestFile.py at two different locations say /data/script/ABC/TestFile.py
so when i execute my python script which is at this location /data/script/ABC/TestFile.py is picking up the compiled file present at this location /data/script/XYZ/TestFile.py
Is there any way through which we can picked the compiled pyhton file at the specific location only.
Please help me out in this
March 15th, 2013, 07:27 AM
The order in the pythonpath will determine which of the files to use.
Originally Posted by jainshasha
My suggestion would be to not have duplicate filenames within the same project.