Hallo zusammen,
Ich habe ein kleines und kurzes Anliegen. Ich importiere time ganz normal über "import time" aber wenn ich in meinem Programm dann time.clock() eingebe, steht da immer:
startzeit=time.clock()
AttributeError: module 'time' has no attribute 'clock'
Kann mir da jemand kurz helfen?
Mfg
Christian
time.clock funktioniert nicht...
Wenn du in die Dokumentation schaust steht da:
Deprecated since version 3.3, will be removed in version 3.8: The behaviour of this function depends on the platform: use perf_counter() or process_time() instead, depending on your requirements, to have a well defined behaviour.