urllib, caching

AndrewJ neuroinf at yahoo.com
Wed Feb 15 19:33:13 EST 2006


I've got code:

 f= urllib.urlopen("http://www.stuff/nb5.php") ;

This connects to a page that changes in real time. Works ok, and
retrieves the data the first time.

But then any subsequent calls all return the same data, even though the
web page itself has changed.

Is there caching going on here? How do I turn it off ?




More information about the Python-list mailing list