I am currently trying to load function from another .py file. I have in the same folder: algo.py and test_algo.py. I need to import all functions from algo in test_algo so I use the command:
from algo import *
The import is succesful however one function do_sthg() takes 3 arguments in algo but the imported version requires 4 arguments which was the case in a very old version of the code. I deleted all .py~ related files and there are not any other scripts with the name algo on my computer. How is that possible and how can i solve this issue?
(I can not specify the full links to my script as it should change over time, I am using 2.7 version of Python) 
Any help would be appreciated.
I have not been able to determine where the problem was so I just specificied the full path using the command getcwd from os. It has worked so far. It means I must have a hidden .pyc or .py~ file somewhere.
Old version of a script is imported using import on Python