• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. _filesys:
2
3*************************
4File and Directory Access
5*************************
6
7The modules described in this chapter deal with disk files and directories.  For
8example, there are modules for reading the properties of files, manipulating
9paths in a portable way, and creating temporary files.  The full list of modules
10in this chapter is:
11
12
13.. toctree::
14
15   pathlib.rst
16   os.path.rst
17   fileinput.rst
18   stat.rst
19   filecmp.rst
20   tempfile.rst
21   glob.rst
22   fnmatch.rst
23   linecache.rst
24   shutil.rst
25
26
27.. seealso::
28
29   Module :mod:`os`
30      Operating system interfaces, including functions to work with files at a
31      lower level than Python :term:`file objects <file object>`.
32
33   Module :mod:`io`
34      Python's built-in I/O library, including both abstract classes and
35      some concrete classes such as file I/O.
36
37   Built-in function :func:`open`
38      The standard way to open files for reading and writing with Python.
39