the python script