title: Won't print function
body: <p>I'm trying to print "print(tuple_list)" but my program keeps going to my except and asking for a new input. Any ideas? thanks</p>
  
  <pre><code>def open_file():
      data=open("data_full.txt")
      return data
  
  
  def process_file(data):
      user_month = input("Enter the number of months (N) which should be \
  included in the list of warmest months: ")
  
      cnt = 0
      tuple_list = []
      header = data.readline()
      header = header.strip().split()
      #print(header)
      while True:    
          try:
              for line in data:
                  cnt+= 1
                  field = line.strip().split()
                  line_list = [int(n) for n in field]
                  #print(line_list)
  
                  year = line_list[0]
  
                  for i in range(1,13):
                      tuple_list.append(year,header[i],line_list[i])
  
                      print(tuple_list)      
              break
  
          except: 
              print("***Unusual circumstance. Try Again***")
              user_month = input("Enter the number of months (N) which should \
  be included in the list of warmest months: ")
  
  def main():
      while True:
          try:
              f=open_file()
              break
          except FileNotFoundError:
              print("Invalid file name. Try Again.")
      process_file(f)
      f.close()
  main()
  </code></pre>