sh to py