Re: #! /usr/bin/python{,3} -Es
On Oct 27, 2012, at 06:53 PM, Jakub Wilk wrote:
>* Thomas Kluyver <thomas@kluyver.me.uk>, 2012-10-26, 11:03:
>>Are there any situations where you might want to run a system script >with modified Python environment variables? I can't think of any off >the top of my head. Here's the list of environment variables:
>>
>>http://docs.python.org/using/cmdline.html#environment-variables
>
>If I set PYTHONWARNINGS, I want it to affect all Python scripts.
Not as convenient, but of course you can always run a script with an explicit
interpreter command line, instead of using the shebang.
Cheers,
-Barry
Reply to: