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
Command line arguments to the script are available as sys.argv list.
sys.argv