Skip to content

Instantly share code, notes, and snippets.

@BlogBlocks
Last active December 19, 2017 00:27
Show Gist options
  • Save BlogBlocks/d77ed15f2b559f10673eb9ba531bbb69 to your computer and use it in GitHub Desktop.
Save BlogBlocks/d77ed15f2b559f10673eb9ba531bbb69 to your computer and use it in GitHub Desktop.
import sys
#filename = "/home/jack/Desktop/deep-dream-generator/notebooks/CSV_DATA/datasets/LakeHuron.csv"
#filename = sys.argv[1:]
input1 = sys.argv[1]
with open(input1) as myfile:
head = [next(myfile) for x in xrange(6)]
xx = "info :"
dd=xx.join(head)
print dd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment