Explore tweets tagged as #PythonImplementation
#PythonImplementation n = int(sys.argv[0]) fobj = open('sample.txt') for index,line in enumerate(fobj): if index == n: break print(line)
By default, the head command shows the first 10 lines of a file. Can be modified using -n followed by the number of lines to show.
0
0
0