In my own experience people typically do that when they have some experience in bash, none in python, and try to do something in python the way they would do it in bash. So for those my advice, instead of getting back again to bash is to get a bit curious about the python standard lib, which has a nice doc unlinke bash, and not assume they know everything about scripting just because they have spent a long amount of time writing bash script.
> which has a nice doc unlinke bash
I find the bash reference manual to be nice enough for me.