I solved the problem by myself, by setting the variable "SET http_proxy="some.proxy:8080" in the autoexec.bat file. I guess that you solve it the same way in unix by export http_proxy="some.proxy:8080" etc etc ;-)
But thanks for you help anyway! ;-) Thomas -----Original Message----- From: Richard Kemp [mailto:[EMAIL PROTECTED]] Sent: den 23 maj 2002 08:06 To: [EMAIL PROTECTED] Subject: RE: Proxy problems. I don't know of any Python libraries that parse out an autoproxy.pac - I had a similar issue at my last contract, where an off-the-shelf software package couldn't read the company's (complicated/convoluted) autoproxy.pac. But you know, its just javascript. Isn't there a javascript module for Python? The autoproxy.pac function is pretty simple, seems to me you could just call that function and get the info to use, and pass that to urllib. You can find more info on autoproxy.pac syntax at Netscape's site, or on MSDN.microsoft.com. Good luck! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patricia J. Hawkins Sent: Wednesday, May 22, 2002 5:35 PM To: [EMAIL PROTECTED] Subject: Re: Proxy problems. >>>>> "TJ" == Thomas Jacobsen <[EMAIL PROTECTED]> writes: TJ> Hi, TJ> I just wantet to know if there is any tool for handeling autoproxies. TJ> Because at work we have this proxy.pac script, and i need to connect to the TJ> internet through that. I have search in google etc. but i couldn't find any TJ> information on how to solve this using python. See: http://www.python.org/dev/doc/devel/lib/module-urllib.html (this is the in-development documentation, but looking at the urllib code, I think it's accurate for Python 2.1 -- and the current documentation isn't as good) Also see the documentation for urllib2 -- Patricia J. Hawkins Hawkins Internet Applications, LLC _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython