← 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: Needs information => Open

Jeff Sant gave more information on the question:
Yes i have looked into docs, and used the command you mentioned, but i
get error that localtime is not defined

import urllib
import time
import sys

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


NameError: name 'localtime' is not defined

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