Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {'Employee': u'080097', 'PunchInDateTime': u'2019-06-19T08:00:00', 'PunchOutDateTime': u'2019-06-19T09:16:00', 'EmployeeName': u'Peter Quill'}
- {'Employee': u'080098', 'PunchInDateTime': u'2019-06-19T08:00:00', 'PunchOutDateTime': u'2019-06-19T09:30:00', 'EmployeeName': u'Peter Parker'}
- (u'080097', '2019-06-19', u'Peter Quill')
- (u'080097', '2019-06-19', 1, u'2019-06-19 08:00:00', u'2019-06-19 09:16:00')
- (u'080097', '2019-06-19', u'Peter Parker')
- (u'080097', '2019-06-19', 1, u'2019-06-19 08:00:00', u'2019-06-19 09:40:00')
- Traceback (most recent call last):
- File "c:/Users/micah/Desktop/Buddy Punch/employeeget.py", line 111, in <module>
- punch_in = punch['PunchInDateTime']
- TypeError: string indices must be integers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement