摘要: Wolf_Electric_UI.py 1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from reading ui file 'wolf_electric.ui' 4 # 5 # Created: Mon Aug 28 阅读全文
posted @ 2017-09-07 10:11 njuptlwh 阅读(725) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:in string = 'helloworld' if 'world' in string: print 'Exist' else: print 'Not exist' View Code 第二种方法:find 1 string = 'helloworld' 2 3 if string. 阅读全文
posted @ 2017-09-07 09:40 njuptlwh 阅读(388) 评论(0) 推荐(0) 编辑
摘要: python中时间日期格式化符号: %y 两位数的年份表示(00-99) %Y 四位数的年份表示(000-9999) %m 月份(01-12) %d 月内中的一天(0-31) %H 24小时制小时数(0-23) %I 12小时制小时数(01-12) %M 分钟数(00=59) %S 秒(00-59) 阅读全文
posted @ 2017-09-07 09:36 njuptlwh 阅读(201) 评论(0) 推荐(1) 编辑