I ported a bash-script to python. 11 lines became 79. Only advantages so far: a small help and you have username/password in a simple configuration file instead of in the script and using a pass-cmd for the password