Search
 
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
Name
8+6 =