Replace absolute path of python