urllib.urlopen question

John Hunter jdhunter at ace.bsd.uchicago.edu
Fri Aug 23 15:05:36 CEST 2002


>>>>> "grok" == grok korg <grokkorg at personal.ro> writes:
    grok> filename would. Anyways, if I use urlopen with such an URL:
    grok> uh=urllib.urlopen("http://www.daemonmachine.gov:9999/qmethod=q&param=tsu%20wa"
    grok> or uh=urllib.urlopen("http://www.daemonmachine.gov:9999" ,
    grok> "qmethod=q&param=tsu%20wa")

    grok> nothing happens. I don't get any data. Maybe my
    grok> understanding of the POST/GET-mechanism is bogus here, I
    grok> don't know.  Any ideas, people?




Are you reading the data, ie,

  print uh.read()

John Hunter




More information about the Python-list mailing list