DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+9 =
Submit