On Oct 27, 2012, at 06:53 PM, Jakub Wilk wrote:

>* Thomas Kluyver <tho...@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


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121028065213.0c00bb59@resist

Reply via email to