Python File IO
os.path 대용Python pathlib Usage
pathlib — Object-oriented filesystem paths
Source code: Lib/pathlib.py This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which p...
https://docs.python.org/3/library/pathlib.html

2. 파일 읽기, .read() 메소드
파일을 읽어오기 위한 메소드는 read(), readline(), readlines() 가 있다. 세개의 동작방식은 다음과 같다. read() : 파일 전체의 내용을 하…
https://wikidocs.net/14130


Seonglae Cho