Created
September 12, 2011 11:52
-
-
Save adaptives/1211095 to your computer and use it in GitHub Desktop.
LPTHW - Exercise 15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sys import argv | |
| script, filename = argv | |
| txt = open(filename) | |
| print "Here's your file %r:" % filename | |
| print txt.read() | |
| print "Type the filename again:" | |
| file_again = raw_input("> "); | |
| txt_again = open(file_again) | |
| print txt_again.read() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment