Bash Script Parse String Python Documentation