Python Time module with Idle error

Asked

Viewed 43 times

-2

Erro

Idle is showing this error, and I can’t find a way to fix it, it seems that it hasn’t imported the time module or is not recognizing.

If anyone can guide me.

1 answer

0

I saw that you are using python 3.8 and time clock. was discontinued so try using time.process_time() in your case would t. process_time().

A hint: it would be much easier if I could run your code to test the changes would make my answer more effective without me having to type in a new code so smp q possible send the code that does not work in the question. :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.