Time Calculation in Python

Posted by user343934 on Stack Overflow See other posts from Stack Overflow or by user343934
Published on 2010-06-05T09:19:27Z Indexed on 2010/06/05 9:22 UTC
Read the original article Hit count: 213

Filed under:
|
|

Hi everyone,

I have two python cgi pages (index, display), what i need to do is calculate time frame between the execution.

Work flow:

  • Index.py (submit)
  • After submit it redirect to display.py page
  • display.py page has got class with execute(),display() &init_main() functions
  • In init_main() i have created class object which access to above functions
  • I need to calculate time interval between the submit (index.py) to execute() end, so i can show user how much time does different weighted file takes on real time.

Hoping to see your suggestions

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about time