proxyhunter icon indicating copy to clipboard operation
proxyhunter copied to clipboard

time.clock() error

Open nubonics opened this issue 5 years ago • 1 comments

Please update time.clock to time.pref_counter() as time.clock() has been depreciated from python 3.3 forward reason it was depreciated was due to its lack of cross compatibly.

source of solution: https://stackoverflow.com/questions/58569361/attributeerror-module-time-has-no-attribute-clock-in-python-3-8

short version

change line 20 start = time.clock()

to this

start = time.time()

or this

start = time.perf_counter()

nubonics avatar Aug 21 '20 14:08 nubonics