title: How do I print the content of a .txt file in Python?
body: <p>I'm very new to programming (obviously) and really advanced computer stuff in general. I've only have basic computer knowledge, so I decided I wanted to learn more. Thus I'm teaching myself (through videos and ebooks) how to program. </p>
  
  <p>Anyways, I'm working on a piece of code that will open a file, print out the contents on the screen, ask you if you want to edit/delete/etc the contents, do it, and then re-print out the results and ask you for confirmation to save. </p>
  
  <p>I'm stuck at the printing the contents of the file. I don't know what command to use to do this. I've tried typing in several commands previously but here is the latest I've tried and no the code isn't complete:</p>
  
  <pre><code>from sys import argv
  
  script, filename = argv
  print "Who are you?"
  name = raw_input()
  
  print "What file are you looking for today?"
  file = raw_input()
  
  print (file)
  
  print "Ok then, here's the file you wanted." 
  
  print "Would you like to delete the contents? Yes or No?"
  </code></pre>
  
  <p>I'm trying to write these practice codes to include as much as I've learned thus far. Also I'm working on Ubuntu 13.04 and Python 2.7.4 if that makes any difference. Thanks for any help thus far :)</p>