Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | .. _filesys: |
| 2 | |
| 3 | ************************* |
| 4 | File and Directory Access |
| 5 | ************************* |
| 6 | |
| 7 | The modules described in this chapter deal with disk files and directories. For |
| 8 | example, there are modules for reading the properties of files, manipulating |
| 9 | paths in a portable way, and creating temporary files. The full list of modules |
| 10 | in this chapter is: |
| 11 | |
| 12 | |
| 13 | .. toctree:: |
| 14 | |
| 15 | os.path.rst |
| 16 | fileinput.rst |
| 17 | stat.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 18 | filecmp.rst |
| 19 | tempfile.rst |
| 20 | glob.rst |
| 21 | fnmatch.rst |
| 22 | linecache.rst |
| 23 | shutil.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 24 | macpath.rst |
| 25 | |
| 26 | |
| 27 | .. seealso:: |
| 28 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 29 | Module :mod:`os` |
| 30 | Operating system interfaces, including functions to work with files at a lower |
| 31 | level than the built-in file object. |
| 32 | |
Benjamin Peterson | 50a1469 | 2009-04-15 20:34:30 +0000 | [diff] [blame] | 33 | Module :mod:`io` |
Antoine Pitrou | 4adb288 | 2010-01-04 18:50:53 +0000 | [diff] [blame] | 34 | Python's built-in I/O library, including both abstract classes and |
| 35 | some concrete classes such as file I/O. |
Benjamin Peterson | 50a1469 | 2009-04-15 20:34:30 +0000 | [diff] [blame] | 36 | |
Antoine Pitrou | 4adb288 | 2010-01-04 18:50:53 +0000 | [diff] [blame] | 37 | Built-in function :func:`open` |
| 38 | The standard way to open files for reading and writing with Python. |