Tin mới
configparser — Configuration file parser
collections.abc: Abstract base classes for containers
Note that unlike the DictReader class, the fieldnames parameter of the DictWriter class is not optional.
Some numeric types, such as bool, Fraction, or IntEnum, have a string representation that cannot be converted to float. They cannot be read in the QUOTE_NONNUMERIC and QUOTE_STRINGS modes.
Dialects and Formatting Parameters¶
A one-character string used to separate fields. It defaults to ','.
The corresponding simplest possible writing example is: