DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python writelignes
of = open("test_file.txt", "w") list_elem = ["test", "test2"] of.writelines(list_elem) of.close()
PREVIOUS
NEXT
Tagged:
#python
#writelignes
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit