Bash End Program In Python Example