setting the http_proxy without reloading the app

Jeremy Lamplough jeremy.lamplough at motorola.com
Mon Nov 20 17:42:18 EST 2000


hi,

I have a program that i'd like to allow the user to set the http_proxy
and then continue using it.  At the moment i can get it to work if they
set the environment variable prior to starting the application, however
i'd like to be able to set it dynamically.

i tried setting the parameter in os.environ and then reloading the
urllib, however it doesn't seem to work.

Any code snippits would be great,

thanks.

jeremy
4



More information about the Python-list mailing list