DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python write to file
with open(filename,"w") as f: f.write('Hello World')
Source by www.pythonforbeginners.com #
PREVIOUS
NEXT
Tagged:
#python
#write
#file
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit