파일과 디렉터리 액세스
**********************

이 장에서 설명하는 모듈은 디스크 파일과 디렉터리를 다룹니다. 예를 들어
, 파일의 속성을 읽고, 이식성 있는 방식으로 경로를 조작하고, 임시 파일
을 만드는 모듈이 있습니다. 이 장의 전체 모듈 목록은 다음과 같습니다:

* "pathlib" --- Object-oriented filesystem paths

  * Basic use

  * Pure paths

    * General properties

    * Operators

    * Accessing individual parts

    * Methods and properties

  * Concrete paths

    * Methods

  * Correspondence to tools in the "os" module

* "os.path" --- Common pathname manipulations

* "fileinput" --- Iterate over lines from multiple input streams

* "stat" --- "stat()" 결과 해석하기

* "filecmp" --- 파일과 디렉터리 비교

  * "dircmp" 클래스

* "tempfile" --- Generate temporary files and directories

  * Examples

  * Deprecated functions and variables

* "glob" --- 유닉스 스타일 경로명 패턴 확장

* "fnmatch" --- 유닉스 파일명 패턴 일치

* "linecache" --- 텍스트 줄에 대한 무작위 액세스

* "shutil" --- High-level file operations

  * Directory and files operations

    * copytree example

    * rmtree example

  * Archiving operations

    * Archiving example

    * Archiving example with *base_dir*

  * Querying the size of the output terminal

* "macpath" --- Mac OS 9 path manipulation functions

더 보기:

  모듈 "os"
     운영 체제 인터페이스. 파이썬 *파일 객체*보다 저수준으로 파일을 다
     루는 함수를 포함합니다.

  모듈 "io"
     파이썬의 내장 I/O 라이브러리. 추상 클래스와 파일 I/O와 같은 구상
     클래스를 모두 포함합니다.

  내장 함수 "open()"
     파이썬으로 읽고 쓰기 위해 파일을 여는 표준 방법.
