관리-도구
편집 파일: csv.cpython-312.pyc
� �Q�f@ � �H � d Z ddlZddlZddlmZmZmZmZmZm Z m Z mZmZm Z mZmZmZmZmZm Z ddlmZ ddlmZ g d�Z G d� d� Z G d � d e� Z ed e� G d� de� Z ed e� G d� de� Z ede� G d� d� Z G d� d� Z G d� d� Zy)z+ csv.py - read/write/investigate CSV files � N)�Error�__version__�writer�reader�register_dialect�unregister_dialect�get_dialect� list_dialects�field_size_limit� QUOTE_MINIMAL� QUOTE_ALL�QUOTE_NONNUMERIC� QUOTE_NONE� QUOTE_STRINGS� QUOTE_NOTNULL�__doc__)�Dialect)�StringIO)r r r r r r r r r �excel� excel_tabr r r r r r �Snifferr r � DictReader� DictWriter�unix_dialectc �@ � e Zd ZdZdZdZdZdZdZdZ dZ dZdZd� Z d� Zy)r z�Describe a CSV dialect. This must be subclassed (see csv.excel). Valid attributes are: delimiter, quotechar, escapechar, doublequote, skipinitialspace, lineterminator, quoting. � FNc �X � | j t k7 rd| _ | j � y )NT)� __class__r �_valid� _validate��selfs �*/opt/alt/python312/lib64/python3.12/csv.py�__init__zDialect.__init__- s � ��>�>�W�$��D�K����� c �f � t | � y # t $ r}t t |� � �d }~ww xY w�N)�_Dialect� TypeErrorr �str)r"