DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python write text file on the next line
file = open("sample.txt", "w") file.write("Hello ") file.write("World ") file.close()
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#python
#write
#text
#file
#line
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit