石盼 wrote:
> The problem like this:
> t = time.clock()
> AttributeError: module 'time' has no attribute 'clock'
Quoting
https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals
"""
The function time.clock() has been removed, after having been deprecated
since Python 3.3: use time.pe
On 03/02/2020 08:04, 石盼 wrote:
Hello !
The problem like this:
RESTART: Shell
>>> import time
>>> t = time.clock()
Traceback (most recent call last):
File "", line 1, in
Hello !
The problem like this:
RESTART: Shell
>>> import time
>>> t = time.clock()
Traceback (most recent call last):
File "", line 1, in
t = time.clock()
A