blob: 03e085b45422769ad5ab740a4d6aae1a5b8132b7 [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001.. _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
Antoine Pitrou31119e42013-11-22 17:38:12 +010015 pathlib.rst
Georg Brandl116aa622007-08-15 14:28:22 +000016 os.path.rst
17 fileinput.rst
18 stat.rst
Georg Brandl116aa622007-08-15 14:28:22 +000019 filecmp.rst
20 tempfile.rst
21 glob.rst
22 fnmatch.rst
23 linecache.rst
24 shutil.rst
Georg Brandl116aa622007-08-15 14:28:22 +000025 macpath.rst
26
27
28.. seealso::
29
Georg Brandl116aa622007-08-15 14:28:22 +000030 Module :mod:`os`
Antoine Pitrou11cb9612010-09-15 11:11:28 +000031 Operating system interfaces, including functions to work with files at a
32 lower level than Python :term:`file objects <file object>`.
Georg Brandl116aa622007-08-15 14:28:22 +000033
Benjamin Peterson50a14692009-04-15 20:34:30 +000034 Module :mod:`io`
Antoine Pitrou4adb2882010-01-04 18:50:53 +000035 Python's built-in I/O library, including both abstract classes and
36 some concrete classes such as file I/O.
Benjamin Peterson50a14692009-04-15 20:34:30 +000037
Antoine Pitrou4adb2882010-01-04 18:50:53 +000038 Built-in function :func:`open`
39 The standard way to open files for reading and writing with Python.