摘要:
import timeprint(time.time())#字符串格式化时间给人看的#时间戳时间 》给计算机看的#结构化时间 》元组,计算用的# print(time.strftime("%Y-%m-%d %H:%M:%S"))#年月日时分秒# print(time.strftime("%m-%d 阅读全文
posted @ 2019-10-19 15:22
小王要变强
阅读(91)
评论(0)
推荐(0)
摘要:
from collections import namedtuple#用那么多tuple表示一个圆# Point=namedtuple("point",["x","y","z"])# p=Point(1,2,3)# p2=Point(3,2,1)# print(p,"x")# print(p,"y" 阅读全文
posted @ 2019-10-19 13:37
小王要变强
阅读(147)
评论(0)
推荐(0)
浙公网安备 33010602011771号