Transformar script feito em shell script para python

gg