adding python file from july 22