Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/l/a/lampstand-HEAD/lampstand/reactions/nano.py   lampstand(Download)
		if delta < 0:
			delta = math.fabs(delta)
			return "You should start Nanowrimo in %s" % tools.niceTimeDelta(delta, "decimal")
 
		persec = target/month;
 
		current = delta*persec;
 
		return "You should be at %d words by now, %s left" % (current, tools.niceTimeDelta(month-delta));	

src/l/a/lampstand-HEAD/lampstand/reactions/whowas.py   lampstand(Download)
				deltadiff = result[1] - after_timestamp
 
			deltastring = tools.niceTimeDelta(deltadiff)
 
			if ((now - result[1]) > 86400):
			if (after_timestamp == 0):
				now = time.mktime(time.localtime())
				deltastring = tools.niceTimeDelta(now - result[1])
			else:
				now = time.mktime(time.localtime(result[1]))
 
				deltadesc = "later"
				deltastring = tools.niceTimeDelta(result[1] - after_timestamp)
				deltastring = "seconds"
			else:
				deltastring = tools.niceTimeDelta(timedelta);
 
			if (timedelta > 86400):

src/l/a/lampstand-HEAD/lampstand/reactions/weblink.py   lampstand(Download)
				entry = self.yt_service.GetYouTubeVideoEntry(video_id=query['v'][0])
				print entry
				deltastring = tools.niceTimeDelta(int(entry.media.duration.seconds))
				#deltastring = entry.media.duration.seconds
				title = "Youtube video: %s (%s)" % (entry.media.title.text, deltastring)