DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
write set to txt python
with open('your_file.txt', 'w') as f: for item in my_list: f.write("%s " % item)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#write
#set
#txt
#python
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit