how to convert SQL list result into integer in python code example Example: change list to int in python test_list = list(map(int,test_list))