DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python writeline file
f = open("test.txt", "w") f.writelines(["Hello", "World"]) f.close
PREVIOUS
NEXT
Tagged:
#python
#writeline
#file
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit