| Server IP : 121.121.20.254 / Your IP : 216.73.217.84 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/importlib/resources/__pycache__/ |
Upload File : |
R
>lqj c � � Q s ] PHs]QHGsGs ]QHGs \ 2 sQ s Q\QQ-Q ks
Q sQ\QQ-Q ksQ
s
Q sQ sQ
sQ sP! )z5Simplified function-based API for importlib.resources)�as_file�files)�TraversalErrorc �8 � [ V2 O Q2 ! )z8Open for binary reading the *resource* within *package*.�rb)�
_get_resource�open��anchor�
path_namess &*�4C:\Python315\\Lib\importlib\resources\_functional.py�open_binaryr s � ���,�1�1�$�7�7� �encoding�errors�strictc �V � [ V12 o[ V2 oUO QVQ5 ! )z6Open for text reading the *resource* within *package*.�r�r r )�_get_encoding_argr r �r r r r
�resources &$$* r � open_textr s) � � ��6�H��V�0�H��=�=��x�=�?�?r
c �6 � [ V2 O 2 ! )zARead and return contents of *resource* within *package* as bytes.)r �
read_bytesr s &*r �read_binaryr s � ���,�7�7�9�9r
c �T � [ V12 o[ V2 oUO VQ5 ! )z?Read and return contents of *resource* within *package* as str.r )r r � read_textr s &$$* r r r s* � � ��6�H��V�0�H����x��?�?r
c �, � [ [ V2 2 ! )z@Return the path to the *resource* as an actual file system path.)r r r s &*r �pathr # s � ��=��4�5�5r
c �\ � [ V2 O 2 ! [ c P
! h 9 h)zbReturn ``True`` if there is a resource named *name* in the package,
Otherwise returns ``False``.
)r �is_filer r s &*r �is_resourcer! ( s- � �
��V�0�8�8�:�:��� ���s � � +�+�+c �| � [ O Q[ ]Q5 Q [ V2 O 2 2 ! )z�Return an iterable over the named resources within the package.
The iterable returns :class:`str` resources (e.g. files).
The iterable does not recurse into subdirectories.
zPimportlib.resources.contents is deprecated. Use files(anchor).iterdir() instead.)�
stacklevelc 3 �D � S F � D pO w � J P! 3h)N)�name)�.0r s & r � <genexpr>�contents.<locals>.<genexpr>? s ��*U� � �*U�h�M�M�*U�s � )�warnings�warn�DeprecationWarningr �iterdirr s &*r �contentsr- 3 s7 � �
�M�M� /��� � W�-��*K�*S�*S�*U�V�Vr
c �V � U[ I c [ U 2 ]6� c [ Q2 gQ! U! )� z5'encoding' argument required with multiple path nameszutf-8)�_MISSING�len� TypeError)r
r s &&r r r B s2 � �
�8���z�?�Q���G��
� ��Or
c �V � U e [ Q2 g[ U 2 O U ! )Nz)anchor must be module or string, got None)r2 r �joinpathr s &&r r r Q s( � �
�~��C�D�D���=�!�!�:�.�.r
)�__doc__r) �_commonr r �abcr �objectr0 r r r r r r! r- r r � r
r �<module>r: sh �� ;� � #� ��8��8�
@�H� @�X� @�:�
@�H� @�X� @�6�
�W��/r