moving python code away