Bash Script Function With Parameters Python