Is it possible to use Python to measure response time?
Question: I'm running some experiments and I need to precisely measure participants'
response time to questions. I know there are some commercial software, but I
was wondering if I can do this with Python. Does python provides suitable
functionality to measure the response time in millisecond unit?

Thank you, Joon


Answer: Just do something like this:

    
    
    from time import time
    starttime = time()
    askQuestion()
    timetaken = time() - starttime
    

