DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to use one with as statement to open two files python
with open('a', 'w') as a, open('b', 'w') as b: do_something()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#statement
#open
#files
#python
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit