DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to iterate through a text file in python
with open ('schedule.txt', 'rt') as myfile: for myline in myfile: print(myline)
PREVIOUS
NEXT
Tagged:
#iterate
#text
#file
#python
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit