Template of the list is:
EmployeeList = [u'<EmpId>', u'<Name>', u'<Doj>', u'<Salary>']
I would like to convert from this
EmployeeList = [u'1001', u'Karick', u'14-12-2020', u'1$']
to this:
EmployeeList = ['1001', 'Karick', '14-12-2020', '1$']
After conversion, I am actually checking if "1001" exists in EmployeeList.values().
u'Kárick'intoK\xc3\xa1rick(which is sure to cause problems downstream if you aren't expecting it).u"1001".intand convert them toshortand you might be fine most of the time. When you hit a datum that is larger than a short, you've just bought yourself a bug.