Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

open python not write file

testfile1 = open("testfile.txt", "w")
testfile1.write("this is a test")
testfile1.flush()
Source by www.pythonanywhere.com #
 
PREVIOUS NEXT
Tagged: #open #python #write #file
ADD COMMENT
Topic
Name
7+3 =