文件操作 - application.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.11/email/mime/__pycache__/application.cpython-311.pyc
编辑文件内容
� *�Kg) � �D � d Z dgZddlmZ ddlmZ G d� de� � ZdS )z5Class representing application/* type MIME documents.�MIMEApplication� )�encoders)�MIMENonMultipartc �. � e Zd ZdZdej fdd�d�ZdS )r z2Class for generating application/* MIME documents.zoctet-streamN)�policyc � � |�t d� � �t j | d|fd|i|�� | � |� � || � � dS )a Create an application/* type MIME document. _data contains the bytes for the raw application data. _subtype is the MIME content type subtype, defaulting to 'octet-stream'. _encoder is a function which will perform the actual encoding for transport of the application data, defaulting to base64 encoding. Any additional keyword arguments are passed to the base class constructor, which turns them into parameters on the Content-Type header. Nz Invalid application MIME subtype�applicationr )� TypeErrorr �__init__�set_payload)�self�_data�_subtype�_encoderr �_paramss �-/usr/lib/python3.11/email/mime/application.pyr zMIMEApplication.__init__ sm � � ���>�?�?�?��!�$� �x� -� -�� -�$+� -� -� -���������������� )�__name__� __module__�__qualname__�__doc__r � encode_base64r � r r r r sD � � � � � �<�<�'5�"�0��<@�� � � � � � r N)r �__all__�emailr �email.mime.nonmultipartr r r r r �<module>r sn �� <� ;�� �� � � � � � � 4� 4� 4� 4� 4� 4�� � � � �&� � � � � r
修改文件时间
将文件时间修改为当前时间的前一年
删除文件