DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
iterating over lines in a file
for
line
in
myFile
.
readlines
(
)
:
statement1 statement2
.
.
.
Source by fopp.umsi.education #
PREVIOUS
NEXT
Tagged:
#iterating
#lines
#file
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit