Marko Rauhamaa <ma...@pacujo.net> writes:

> Jabba Laci <jabba.l...@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.

Using the relevant environment variable (PYTHONUNBUFFERED) seems simple
to me.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to