摘要: time模块获取当前时间戳 time模块获取当前时间格式化 time模块将时间戳格式化输出 time模块将格式化的日期转为时间戳 获取现行时间 datetime模块 获取日期时间详细信息 将字符串转化为datetime 阅读全文
posted @ 2017-10-20 17:58 王哈哈-就很棒 阅读(461) 评论(0) 推荐(0)
摘要: Windows 下使用virtualenv Linux 下使用Virtualenv 阅读全文
posted @ 2017-10-20 17:54 王哈哈-就很棒 阅读(151) 评论(0) 推荐(0)
摘要: 1 2 # -*- coding:utf-8 -*- 3 import os 4 def systemInfo(): 5 #os.name 获取系统的平台 Windows 返回 ‘nt'; Linux 返回’posix' 6 if os.name=='nt': 7 print "你的系统是Windo 阅读全文
posted @ 2016-12-18 17:27 王哈哈-就很棒 阅读(339) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示