Skip to content

Instantly share code, notes, and snippets.

@changyeon
Created June 9, 2015 01:04
Show Gist options
  • Save changyeon/59b2203d3c4eedb3b56b to your computer and use it in GitHub Desktop.
Save changyeon/59b2203d3c4eedb3b56b to your computer and use it in GitHub Desktop.
read from file
#!/usr/bin/env python
import sys
with open(sys.argv[1]) as f:
for line in f:
print line,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment