Ptyhon and bash scripts