using urlretrive/urlopen

Discussion in 'Python' started by Rustom Mody, May 15, 2009.

  1. Rustom Mody

    Rustom Mody Guest

    I am trying to talk to a server that runs on localhost
    The server runs on http://localhost:7000/ and that opens alright in  a
    web browser.

    However if I use urlopen or urlretrieve what I get is this 'file' --
    obviously not the one that the browser gets:

    <html><body bgcolor="#ffffff">
    Query 'http://localhost:7000/' not implemented
    </body></html>
    Any tips/clues?

    This is python2.6
     
    Rustom Mody, May 15, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xu, C.S.
    Replies:
    5
    Views:
    487
    John J. Lee
    Sep 17, 2003
  2. Replies:
    3
    Views:
    2,039
    Cousin Stanley
    Dec 31, 2003
  3. Herman Geldenhuys

    % in POST when using URLLIB2.URLOPEN with PROXY

    Herman Geldenhuys, Jul 14, 2004, in forum: Python
    Replies:
    1
    Views:
    468
    John J. Lee
    Jul 14, 2004
  4. Chris
    Replies:
    0
    Views:
    1,065
    Chris
    Jul 10, 2005
  5. John
    Replies:
    2
    Views:
    279
    John J. Lee
    Apr 16, 2007
Loading...

Share This Page