"""
open a file
operate
close

file path(location)
file name
file path + file name

When to omit file path?
under the same directory or path

file path:
1. absolute path
2. relative path

"""

# import os
# import os.path

#  D:\workspace\pycharm201803\stem1401python_student\py200912b_python2m6\day11_201121\file_1_open.py
print("Start opening file...")
file = open(r"D:\workspace\pycharm201803\stem1401python_student\py200912b_python2m6\day11_201121\file_1.txt")

print("Closing...")
file.close()

print("Done.")

