abuzhang

2018年3月5日

python获取当前时间

摘要: ########import timedef logger(n): time_format = '%Y-%m-%d %X' time_current = time.strftime(time_format) with open('log.txt','a') as f: f.write('and ac 阅读全文

posted @ 2018-03-05 13:41 abuzhang 阅读(262) 评论(0) 推荐(0) 编辑

2017年7月31日

Python Day2 Learning record

摘要: 一、python初始化模块 Python的强大之处在于他有非常丰富和强大的标准库和第三方库,几乎你想实现的任何功能都能有相应的python库支持,以后的课程中会深入讲解常用到的各种库,现在,我们先来象征性的血2个简单的。 (库=模块) 导入模块用import sys模块 os模块 二、数据运算 逻辑 阅读全文

posted @ 2017-07-31 11:27 abuzhang 阅读(191) 评论(0) 推荐(0) 编辑

2017年7月20日

Python_day1 Learning record

摘要: Python Day1 Learning record(python第一天学习记录) 一、ptyhon安装 windows linux、Mac 二、Hello World程序 在linux下创建一个文件叫hello.py,并输入 指定解释器 上一步中执行python hello.py时,明确的指出h 阅读全文

posted @ 2017-07-20 16:57 abuzhang 阅读(874) 评论(0) 推荐(0) 编辑

导航