1test_list = ['1', '4', '3', '6', '7']
2
3int_list = [int(i) for i in test_list]
1>>> example_string = '0, 0, 0, 11, 0, 0, 0, 0, 0, 19, 0, 9, 0, 0, 0, 0, 0, 0, 11'
2>>> list(map(int, example_string.split(','))) # Python 3, in Python 2 the list() call is redundant
3[0, 0, 0, 11, 0, 0, 0, 0, 0, 19, 0, 9, 0, 0, 0, 0, 0, 0, 11]
4>>> [int(s) for s in example_string.split(',')]
5[0, 0, 0, 11, 0, 0, 0, 0, 0, 19, 0, 9, 0, 0, 0, 0, 0, 0, 11]
6