该文被密码保护。 阅读全文
posted @ 2020-08-30 22:42 萧海~ 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-30 22:15 萧海~ 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-30 20:49 萧海~ 阅读(0) 评论(0) 推荐(0) 编辑
摘要: Python 简单使用QMediaPlayer,QSoundEffect,QAudioOutput from PyQt5 import QtCore, QtMultimedia, QtGuiimport PyQt5(1)适合于mp4,mp3 if __name__=="__main__": app 阅读全文
posted @ 2020-08-30 19:52 萧海~ 阅读(1639) 评论(0) 推荐(0) 编辑
摘要: Python classmethod 修饰符简单使用 class A(object): value = 1 def func1(self): print('func1') @classmethod def func2(cls): print('func2') print(cls.value) cls 阅读全文
posted @ 2020-08-30 19:42 萧海~ 阅读(189) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-30 14:54 萧海~ 阅读(0) 评论(0) 推荐(0) 编辑
摘要: Python获取当前时间及格式化import time # 打印时间戳print(time.time())# 格式化时间戳为本地的时间print(time.localtime(time.time()))# 优化格式化化版本print(time.strftime('%Y-%m-%d %H:%M:%S' 阅读全文
posted @ 2020-08-30 13:28 萧海~ 阅读(1143) 评论(0) 推荐(0) 编辑