Ai
1 Star 0 Fork 0

ChasGao/my_python_example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hello_time.py 355 Bytes
一键复制 编辑 原始数据 按行查看 历史
ChasGao 提交于 2019-12-30 09:41 +08:00 . 初始导入
import time
import datetime
import re
print(time.time())
start = time.clock()
for i in range(10):
print(i ** 2)
# time.sleep(1) #休眠1秒
end = time.clock()
print(end - start)
print(time.gmtime())
print(time.localtime())
t = datetime.datetime(2019, 11, 30, 10, 22, 10, 00)
m = re.search("[0-9]", "fdsk21f2813928djks");
print(m.group(0))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Chas/my_python_example.git
git@gitee.com:Chas/my_python_example.git
Chas
my_python_example
my_python_example
master

搜索帮助