'emp_id'
id = [int(data[-1][emp_id][6:])]
Quote:TypeError: list indices must be integers or slices, not str.
id = [int(data[-1]['emp_id'][6:])] // ^ here is the error
-1
6:
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)