![]() Python3 /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/file_path.py dst/target_2.txt # read target file: # !! This is "target_2.txt" !! # getcwd: /Users/mbp/Documents/my-project/python-snippets/notebook # _file_: data/src/file_path.py # basename: file_path.py # dirname: data/src # abspath: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/file_path.py # abs dirname: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # target_path_1: data/src/target_1.txt # read target file: # !! This is "target_1.txt" !! # target_path_2: data/src/./dst/target_2.txt # normalize : data/dst/target_2.txt # read target file: # !! This is "target_2.txt" !! # getcwd: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # target_path_1: target_1.txt # read target file: # !! This is "target_1.txt" !! # target_path_2. dst/target_2.txt # read target file: # !! This is "target_2.Pwd # /Users/mbp/Documents/my-project/python-snippets/notebook dst/target_2.txt # read target file: # !! This is "target_2.txt" !! # getcwd: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # target_path_1: target_1.txt # read target file: # !! This is "target_1.txt" !! # target_path_2. # getcwd: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # _file_: file_path.py # basename: file_path.py # dirname: # abspath: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/file_path.py # abs dirname: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # target_path_1: target_1.txt # read target file: # !! This is "target_1.txt" !! # target_path_2. ![]() Pwd # /Users/mbp/Documents/my-project/python-snippets/notebook/data/src ![]() # getcwd: /Users/mbp/Documents/my-project/python-snippets/notebook # _file_: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/file_path.py # basename: file_path.py # dirname: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # abspath: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/file_path.py # abs dirname: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # target_path_1: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/target_1.txt # read target file: # !! This is "target_1.txt" !! # target_path_2: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src/./dst/target_2.txt # normalize : /Users/mbp/Documents/my-project/python-snippets/notebook/data/dst/target_2.txt # read target file: # !! This is "target_2.txt" !! # getcwd: /Users/mbp/Documents/my-project/python-snippets/notebook/data/src # target_path_1: target_1.txt # read target file: # !! This is "target_1.txt" !! # target_path_2. Pwd # /Users/mbp/Documents/my-project/python-snippets/notebook
0 Comments
Leave a Reply. |