Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python read file

with open('readme.txt') as f:
    lines = f.readlines()
Code language: Python
Source by www.pythontutorial.net #
 
PREVIOUS NEXT
Tagged: #python #read #file
ADD COMMENT
Topic
Name
5+8 =