title: Opening Text files in Qpthon 3 on android tablet
body: <p>I am new to learning coding and starting with Python&nbsp;2.7. How do I get a text file to open in Qpython&nbsp;3?</p>
  
  <pre><code># Opening a file
  
  inp = raw_input ("Enter a File Name: ")
  
  #Optional guardian to capture incorrect filenames
  try:
  
  fhand = open('words.txt')
  except:
      print "Invalid Filename "
      exit()
  #End of Guardian code
  
  count = 0
  for line in fhand:
      count = count + 1
  print "Line Count", count
  </code></pre>
  
  <p>All I get from this is error messaging.</p>