playing with python and bash