urllib timeout

kBob krdean at gmail.com
Tue Jul 27 17:36:59 EDT 2010



 I created a script to access weather satellite imagery fron NOAA's
ADDS.

 It worked fine until recently with Python 2.6.

 The company changed the Internet LAN connections to "Accept Automatic
settings" and "Use automatic configuration script"

 How do you get urllib.urlopen to use the the "automatic script"
configuration?

 This code worked recently, until the company implemented these LAN
connections...

    SAT_URL = "http://adds.aviationweather.gov/data/satellite/
latest_BWI_vis.jpg"
    satpic = urllib.urlopen(SAT_URL, proxies=0 )
    satimg = satpic.read()


Kelly Dean
Fort Collins, CO



More information about the Python-list mailing list