i have a error in python code : 'from time import clock' ImportError: cannot import name 'clock' from 'time' (unknown location)
this not working in python 3.8 can someone help
time.clock is a method that has been deprecated since Python 3.3 and removed from Python 3.8 (see the Python 3.7 time documentation for more information), because its behaviour was dependent on the platform (it behaved differently on Unix compared to Windows). As the documentation suggests, you should use time.perf_counter() or time.process_time() instead. These are subtly different, see this Stack Overflow question for more details.
clockin thetimemodule. What you are trying to do? - Ekrem Dinçel