Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

path to create a text file in python

outFileName="F:folderfolderfilename.txt"
outFile=open(outFileName, "w")
outFile.write("""Hello my name is ABCD""")
outFile.close()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #path #create #text #file #python
ADD COMMENT
Topic
Name
2+2 =