how to access every num in a text file list and convert to integer in python code example Example: convert list with txt to int test_list = list(map(int, test_list))