![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
练习的小程序
郑*杰
这个作者很懒,什么都没留下…
展开
-
时分秒与时间戳相互转化(sys.argv)
import sys# 把时分秒转化为时间戳def countDown(time) : s = 0 hour = time.split(':')[0] min = time.split(':')[1] sec = time.split(':')[2] s = int(hour) * 3600 + int(min) * 60 + int(sec) return s * 1000# 时间戳的只转为时分秒def formatDuring(ms.原创 2022-02-24 14:08:45 · 3654 阅读 · 0 评论 -
三级菜单小程序
实现一个三级菜单,可回退,可随时退出,可返回menu = { '北京':{ '海淀':{ '五道口':{ 'soho':{}, '网易':{}, 'google':{} }, '中关村':{ '爱奇艺':{}, '汽车之家':{}, ..原创 2022-02-16 23:03:49 · 349 阅读 · 0 评论