Linux Bash Script Call Function From Class In Python Explained