07 2021 档案

摘要:可参考:https://www.runoob.com/python/python-date-time.html 1、python时间主要分为三个格式 (1)时间戳 print(time.time()) //获取当前时间,格式为时间戳 (2)时间元祖 print(time.localtime(time 阅读全文
posted @ 2021-07-29 15:40 柳如眉 阅读(418) 评论(0) 推荐(0)
摘要:dict()函数用于创建一个字典,返回值为一个字典 dict()语法 class dict(**kwarg) //**kwarg 关键字 class dict(mapping, **kwarg) //mapping 元素的容器 class dict(iterable, **kwarg) //iter 阅读全文
posted @ 2021-07-28 17:38 柳如眉 阅读(717) 评论(0) 推荐(0)
摘要:在编写代码之前可以画流程图 流程图的组件部分一般分为以下: (1)箭头 (2)椭圆 (3)平行四边形 (4)菱形 (5)长方形 阅读全文
posted @ 2021-07-27 09:27 柳如眉 阅读(537) 评论(0) 推荐(0)