DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to make python turn a list into a text file grapper
crimefile
=
open
(
fileName
,
'r'
)
yourResult
=
[
line
.
split
(
','
)
for
line
in
crimefile
.
readlines
(
)
]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#turn
#list
#text
#file
#grapper
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit