← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #259773]: Receive data from GET request

 

Question #259773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/259773

    Status: Open => Answered

RaiMan proposed the following answer:
the docs for urllib.urlopen say:

...
 If all went well, a file-like object is returned. This supports the following methods: read(), readline(), readlines(), fileno(), close(), info(), getcode() and geturl(). It also has proper support for the iterator protocol.
…

so 
print f.read()

should show some content.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.