WEEK6

Chenxing Fang
Design Computing
Published in
1 min readApr 5, 2017

IO??

mode = “r”“w”

FILENAME = open(file_path, mode)

response = FILENAME.read()

message = “janet always says:\n\t”

print(message + response)

FILENAME.close()

^ALWAYS REMEMBER TO CLOSE THE FILE!!!!!

==========================

CWD =current working directory

LOCAL =the context of the file

==========================

--

--