Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

with statement python 3 files

(from: https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files)
with open('workfile') as f:
		read_data = f.read()
 
PREVIOUS NEXT
Tagged: #statement #python #files
ADD COMMENT
Topic
Name
7+4 =