A picture to understand the series - file processing module (general catalog)

This article was originally created by Daxia (AhcaoZhu) , please declare for reprinting.
Link: https://blog.csdn.net/Ahcao2008

Alt

A picture to understand the series - file processing module (general catalog)

Summary

This article describes the directory of the module for file handling.
In the past, each module was written separately, but now they are grouped together to form a collection.
This is 一图看懂the second collection of the series.
The first collection is:
One picture to understand series One picture to understand tkinter Data organization + Notes (Comprehensive) series catalog
It is a rare authoritative dictionary reference book. It is part of a series set. Follow-up release, please pay attention. [Original: AhcaoZhu Hero]

Table of contents

module name category illustrate
io standard Input and output operations on file streams
os standard Basic operating system functions, including file operations
os.path standard common path operations
fileinput standard handle multiple input files
filecmp standard For comparing files and directories
cvs standard For csv file processing
pickle,cPickle standard deserialization for serialization
tempfile standard Generate temporary files and directories
pathlib standard Object-Oriented Filesystem Paths
stat standard Parsing stat() results
xml standard for XML data processing
bz2 standard compression and decompression
gzip standard compression and decompression
zipfile standard compression and decompression
zlib standard compression and decompression
tarfile standard compression and decompression
linecache standard Read and write lines of text randomly
shutil standard Advanced File Operations
glob standard Find file pathnames that match certain rules ( Unixstyle)
fnmatch standard Use patterns to match file pathnames ( Unixfilenames)
macpath standard Mac OS 9path manipulation function
openpyxl one of two expand A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files
pptx expand A Python library that can be used to create and modify ppt files
docx expand Read, query and modify Microsoft Word docx files
pyexcel one two expand A library that provides a unified API for reading, writing, and manipulating Excel files
xlwt xlrd expand Read and write data and formatting information for Excel files
xlsxwriter expand A Python module for creating Excel .xlsx files
xlwings expand A library that makes it easy to call Python from Excel (and vice versa), based on the BSD protocol

Note:

(1) The three modules of unix, Mac, etc. have not been given yet.

(2) Regarding module classification (standard and extension), there is no strict boundary, but conventions are followed. See:
Python standard pre-installed modules (Comprehensive)
Python commonly used extension module resources (Comprehensive)

(3) How to install the library?
How to install third-party libraries in PyCharm?

Guess you like

Origin blog.csdn.net/Ahcao2008/article/details/130037746