About 600 results
Open links in new tab
  1. csv — CSV File Reading and Writing — Python 3.14.2 documentation

    4 days ago · The csv module implements classes to read and write tabular data in CSV format. It allows programmers to say, “write this data in the format preferred by Excel,” or “read data …

  2. File Formats — Python 3.14.2 documentation

    2 days ago · The modules described in this chapter parse various miscellaneous file formats that aren’t markup languages and are not related to e-mail. csv — CSV File Reading and Writing- …

  3. 13.1. csv — CSV 文件读写 — Python 2.7.18 文档

    Feb 7, 2018 · The csv module implements classes to read and write tabular data in CSV format. It allows programmers to say, “write this data in the format preferred by Excel,” or “read data …

  4. 7. Input and Output — Python 3.14.2 documentation

    2 days ago · To read a file’s contents, call f.read(size), which reads some quantity of data and returns it as a string (in text mode) or bytes object (in binary mode). size is an optional numeric …

  5. zipfile — Work with ZIP archives — Python 3.14.2 documentation

    Open a ZIP file, where file can be a path to a file (a string), a file-like object or a path-like object. The mode parameter should be 'r' to read an existing file, 'w' to truncate and write a new file, …

  6. gzip — Support for gzip files — Python 3.14.2 documentation

    The filename argument can be an actual filename (a str or bytes object), or an existing file object to read from or write to. The mode argument can be any of 'r', 'rb', 'a', 'ab', 'w', 'wb', 'x' or 'xb' …

  7. configparser — Configuration file parser — Python 3.14.2 …

    2 days ago · As you can see, we can treat a config parser much like a dictionary. There are differences, outlined later, but the behavior is very close to what you would expect from a …

  8. io — Core tools for working with streams — Python 3.14.2 …

    2 days ago · Once the file is closed, any operation on the file (e.g. reading or writing) will raise a ValueError. As a convenience, it is allowed to call this method more than once; only the first …

  9. pathlib — Object-oriented filesystem paths — Python 3.14.2 …

    2 days ago · Python’s str and bytes types, and portions of the os and os.path modules, are written in C and are very speedy. pathlib is written in pure Python and is often slower, but rarely slow …

  10. wave — Read and write WAV files — Python 3.14.2 documentation

    2 days ago · The wave module provides a convenient interface to the Waveform Audio “WAVE” (or “WAV”) file format. Only uncompressed PCM encoded wave files are supported.