Eventually I understand this and it works.
bash script:
#!/bin/bash #$ -V #$ -cwd #$ -o $HOME/sge_jobs_output/$JOB_ID.out -j y #$ -S /bin/bash #$ -l
Take a look at parsing Python arguments. Your bash code would be fine, just need to edit your Python script to take the argument.