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
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #readline #python
ADD COMMENT
Topic
Name
9+6 =