[Pythonmac-SIG] Problem with urllib.openurl()

Robin B. Lake rbl@hal.cwru.edu
Fri, 20 Jul 2001 08:23:10 -0400 (EDT)


On a Mac G3, OS 8.6, Python 2.0.

For some time now, I've been using the myfile=urllib.openurl('URL path')
construct to suck data files off the Web.  Now I'm trying to use it to
get both historical and real-time snapshots of stock portfolio prices.

The historical data comes thru just fine, in that the Web site offers a
"Download" button that sends it over as a comma-delimited file.

The real-time data, however, does not make it into the Python-created
file "myfile".  I get HTML stuff showing in that file, but no data.  I
suspect that the problem arises in the Web site's use of cgi-bin to
create the price table on the fly.  

Anyone have similar experiences?  Is there a work-around?

Thank you,
Robin Lake
lake@cwru.edu