DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+3 =
Submit