WEEK6

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

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

Show your support

Clapping shows how much you appreciated Chenxing Fang’s story.