Let's say the file is called test.py
and starts with a shebang of:
#!/usr/bin/python -t -O -v
Then calling ./test.py
would be the equivalent of the command
/usr/bin/python '-t -O -V' ./test.py
Everything after the first space is treated as one single argument, that's why you can only supply one argument in a shebang. Luckily you can chain shortopts to -tOv
.