관리-도구
편집 파일: nturl2path.cpython-311.opt-2.pyc
� c��fG � � � d � Z d� ZdS )c �� � dd l }dd l}| � dd� � } d| vrZ| d d� dk r | dd � } | � d� � }|j � d� |� � � � S | � d� � }t |� � dk s|d d |j vrd | z }t |� � �|d d � � � }|d � d� � }|dz }|D ]$}|r |dz |j � |� � z }�%|� d� � r| � d� � r|dz }|S )N� �:�|� z////� �/�\���z Bad URL: � )�string�urllib.parse�replace�split�parse�unquote�join�len� ascii_letters�OSError�upper�endswith)�urlr �urllib� components�comp�error�drive�paths �1/opt/alt/python311/lib64/python3.11/nturl2path.py�url2pathnamer s{ � �?� �������� �+�+�c�3� � �C��#�:�:��r��r�7�f��� �a�b�b�'�C��Y�Y�s�^�^� ��|�#�#�D�I�I�j�$9�$9�:�:�:��9�9�S�>�>�D� �4�y�y�A�~�~��a����F�,@�@�@��c�!���e�n�n����G�B�K�����E��a����s�#�#�J��3�;�D�� <� <��� <��$�;���!5�!5�d�!;�!;�;�D���}�}�S��� �c�l�l�3�/�/� ������K� c �4 � dd l }| d d� dk rX| dd � } | d d� � � � dk rd| dd � z } n | dd� dk rt d | z � � �d| vrU| d d� d k rd | z } | � d� � }|j � d� |� � � � S | � dd�� � }t |� � dk st |d � � dk rd | z }t |� � �|j � |d � � � � � }|d � d� � }d |z dz }|D ]$}|r |dz |j � |� � z }�%|S )Nr r z\\?\zUNC\r r r r z Bad path: z\\r )�maxsplitz///)r r r r r �quoter r )�pr r r r r r s r �pathname2urlr&