DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
contents of file to variable python
with open ("data.txt", "r") as myfile: data=myfile.readlines()
PREVIOUS
NEXT
Tagged:
#contents
#file
#variable
#python
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit