← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #166488]: How to concatenate string and float?

 

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.