with open('countries.txt','r') as file: countriesStr = file.read() #######Yes, you can print it like a normal string