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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, sorry for misleading or I could say: Jeff, test not passed ;-)

Python basics:
u = urllib.urlopen("http://abc.com/xyz.zip";)
popup(time.localtime(time.mktime(u.info().getdate("date"))))

--- methods of modules imported with "import some_module" have to be
qualified with module name: some_module.method()

BTW:
import time
import sys

are not needed, since already imported by Sikuli script initialization

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to