Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

readline python

file = open('./yourfile.txt')

print(file.readline())	#Read and print first line of yourfile.txt
 
PREVIOUS NEXT
Tagged: #readline #python
ADD COMMENT
Topic
Name
2+8 =