摘要: 首先,时间戳是指格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分00秒)起至现在的总毫秒数。通俗的讲, 时间戳是一份能够表示一份数据在一个特定时间点已经存在的完整的可验证的数据。 1.获取时间戳 import time t = time.time() 阅读全文
posted @ 2020-04-03 15:35 逍-遥 阅读(2194) 评论(0) 推荐(0) 编辑
摘要: python中对于字符串的表示和其他语言基本一样,都是用string来表示字符串,不同的是,python在使用字符串的时候同样不需要定义。 字符串的表示:先举一个例子: str = "hello world!"1这就是一句python的字符串表达式。需要注意的是,在使用字符串的时候,我们需要将字符串 阅读全文
posted @ 2020-04-03 15:33 逍-遥 阅读(588) 评论(0) 推荐(0) 编辑
摘要: from PyQt5.QtWidgets import QWidget, QCheckBox, QApplication,QLabel from PyQt5.QtCore import Qt import sys,sip class Example(QWidget): def __init__(se 阅读全文
posted @ 2020-04-03 15:27 逍-遥 阅读(473) 评论(0) 推荐(0) 编辑
民营企业网B2B