#include_ 2022-05-14 13:40:51 阅读数:727
在调用的时候出现错误
解决方法:
Python导入模块的方法有两种:import module 和 from module import,import module导入的东西使用时需加上模块名的限定
修改为
from time import time
count = 0
while count < 10:
print('ok',time,time())
count = 100
print(123)
学习日记
版权声明:本文为[#include_]所创,转载请带上原文链接,感谢。 https://shuchang.blog.csdn.net/article/details/124541191