Source: Time.cock() has been abolished since python3.3
An anomaly:
Add Python3.8 environment to pycharm, calling time.clock: Attribute Errror ‘time’ has no attribute ‘clock’
After Doo-sama, the reason is:
Python 3.8 no longer supportstime.clock but still includes the method when called;
Effective handling of:
Replace withtime.perf_counter()
-
import time
-
tis1 =time.perf_counter()
-
print(“Waiting for five seconds…”)
-
time.sleep(5)
-
tis2=time.perf_counter()
-
print(tis2-tis1)
-
Wait 5 seconds…
未经允许不得转载:萌萌Apprentissage » Attribute Errror Module 'time' has no anomaly 'clock'
Python batches to extract mainstream search engine pictures
Python's word crawling across 100 degrees.
PythonTaiichi Taipei Artificial Intelligence Tensoflow Graphic Processing
Selenium with Tor Browser using Python
I'm gonna get you a new one, shell.cloud.google on the line.
run crontab with python selenium tor browser display in linux
Lineux Environment Use python to call the ter browser random browser web page