python version of same script
future
python