Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. {'Employee': u'080097', 'PunchInDateTime': u'2019-06-19T08:00:00', 'PunchOutDateTime': u'2019-06-19T09:16:00', 'EmployeeName': u'Peter Quill'}
  2. {'Employee': u'080098', 'PunchInDateTime': u'2019-06-19T08:00:00', 'PunchOutDateTime': u'2019-06-19T09:30:00', 'EmployeeName': u'Peter Parker'}
  3.  
  4. (u'080097', '2019-06-19', u'Peter Quill')
  5. (u'080097', '2019-06-19', 1, u'2019-06-19 08:00:00', u'2019-06-19 09:16:00')
  6. (u'080097', '2019-06-19', u'Peter Parker')
  7. (u'080097', '2019-06-19', 1, u'2019-06-19 08:00:00', u'2019-06-19 09:40:00')
  8.  
  9. Traceback (most recent call last):
  10. File "c:/Users/micah/Desktop/Buddy Punch/employeeget.py", line 111, in <module>
  11. punch_in = punch['PunchInDateTime']
  12. TypeError: string indices must be integers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement