python conver strings in list to ints from a text file code example Example: convert list with txt to int test_list = list(map(int, test_list))