[python] How do you determine a processing time in Python?