Created
February 22, 2010 05:33
-
-
Save milin/310826 to your computer and use it in GitHub Desktop.
This file contains 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
path = raw_input() | |
f = open(path) # open the file from the given path using open | |
temp = "" #let temp be an empty string | |
for line in f: # add the contents of the file in temp | |
temp += line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment