Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

readlines from file python

f = open("file.txt", 'r')
print(f.readlines())  # array of file lines
 
PREVIOUS NEXT
Tagged: #readlines #file #python
ADD COMMENT
Topic
Name
3+8 =