DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to form a list from a file in python
myFile= open( "SomeFile.txt", "r" ) for x in myFile: print x myFile.close()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#form
#list
#file
#python
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit