User Profile

Collapse

Profile Sidebar

Collapse
ashimasingh
ashimasingh
Last Activity: Mar 31 '11, 06:21 AM
Joined: Mar 24 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hello bvdet !!

    Actually my query about my program is that:
    i have to make a program which takes the two times (start time and end time) from the user. Then, i take the third time interval (say in minutes)from the user.

    Now in my program:
    suppose the user gives, start time : 12:00:00 and end time: 13:00:00 and time interval : 5 minutes

    so it will compare in my file XYZ.TXT the start time string "12:00:00"...
    See more | Go to post

    Leave a comment:


  • ashimasingh
    started a topic how to find a time between the two given time

    how to find a time between the two given time

    hello ,
    i need a help regarding python programming:

    basically i need to find out times between the start and the stop time.
    Here is what i have tried---


    Code:
    s = raw_input('enter first time (hh:mm:ss ):')
    z = raw_input('enter the second time (hh:mm:ss):')
    if ':' in s:
     h, m, ss = s.split(':')
     q = int(h)*3600 + float(m)* 60 + float(ss)
    
    if ':' in z:
     hh, mm,
    ...
    See more | Go to post
    Last edited by bvdet; Mar 24 '11, 01:01 PM. Reason: Add code tags
No activity results to display
Show More
Working...