03 2015 档案
摘要:Python 日期和时间Python程序能用很多方式处理日期和时间。转换日期格式是一个常见的例行琐事。Python有一个time and calendar模组可以帮忙。什么是Tick?时间间隔是以秒为单位的浮点小数。 每个时间戳都以自从1970年1月1日午夜(历元)经过了多长时间来表示。 Pytho...
阅读全文
posted @ 2015-03-18 16:49
echohit
摘要:#coding=utf-8counter = a = 100miles = 1000.0name = "echo"print counterprint milesprint nameprint astr = 'Hello World!'print strprint str[0]print str[2...
阅读全文
posted @ 2015-03-18 16:47
echohit

浙公网安备 33010602011771号