Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get text from txt file python

with open ("data.txt", "r") as myfile:
    data = myfile.read().splitlines()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #text #txt #file #python
ADD COMMENT
Topic
Name
1+7 =