DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python file reading
fin = open("NAME.txt", 'r') body = fin.read().split(" ") line = fin.readline().strip()
PREVIOUS
NEXT
Tagged:
#python
#file
#reading
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit