Skip to content

Instantly share code, notes, and snippets.

@mitchellbusby
Created May 20, 2012 06:53
Show Gist options
  • Save mitchellbusby/2757060 to your computer and use it in GitHub Desktop.
Save mitchellbusby/2757060 to your computer and use it in GitHub Desktop.
not implemented
output = []
f = open('lines.txt', 'r')
li = f.readlines()
f.close()
for i in li:
output.insert(0, i)
out = open('output.txt', 'w')
for item in output:
print item
out.write(item)
out.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment