passing an option to the python interpreter

Marko Rauhamaa marko at pacujo.net
Sat Feb 15 17:47:58 EST 2014


Jabba Laci <jabba.laci at gmail.com>:

> I tried this:
>
> #!/usr/bin/env python -u

The hash-bang notation is quite rigid; it only accepts a single argument
("python") to the command ("/usr/bin/env").

I don't know if there is a simple workaround.


Marko



More information about the Python-list mailing list