What is the proper way to compare 2 times in Python in order to speed test a section of code? I tried reading the API docs. I\'m not sure I understand the timedelta thing.>
The following code should display the time detla...
from datetime import datetime tstart = datetime.now() # code to speed test tend = datetime.now() print tend - tstart