Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read text file python path open

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