Python error: typeerror: 'module' object is not callable

#include_ 2022-05-14 14:35:10 阅读数:383

pythonerrortypeerrormoduleobject

An error occurred while calling

resolvent :

Python There are two ways to import modules :import module and from module import,import module When using imported things, you need to add the qualification of module name

It is amended as follows

from time import time
count = 0
while count < 10:
print('ok',time,time())
count = 100
print(123)

Study diary  

版权声明:本文为[#include_]所创,转载请带上原文链接,感谢。 https://pythonmana.com/2022/134/202205141340281679.html