摘要:
# f = open('json_file','w') # json.dump({'k':(1,2,3)},f) # f.close() # with open('json_file') as f: # ret = json.load(f) # print(ret,type(ret)) # ret 阅读全文
posted @ 2017-11-21 18:46
dwenwen
阅读(4464)
评论(0)
推荐(1)
摘要:
import time # ret = time.time() #时间戳,时间戳表示的是从1970年1月1日00:00:00开始按秒计算的偏移量 # print(ret) #1510647685.4264479 # print(type(ret)) # 格式化的时间字符串strftime # ret 阅读全文
posted @ 2017-11-21 18:39
dwenwen
阅读(189)
评论(0)
推荐(0)

浙公网安备 33010602011771号