← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #178896]: Is webbrowser module included with Sikuli Jython?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sikuli X-1.0rc3 contains Jython 2.5.2

But the original Jython 2.5.2 does not have a webbrowser module either. 
see: http://bugs.jython.org/issue1762054

Why do you not use the simpler urllib module.

urllib.urlretrieve(url[, filename[, reporthook[, data]]])

should do the job of downloading a file from the net.

Depending on the url, it might be necessary to encode it for the http
request before.

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