관리-도구
편집 파일: ntpath.cpython-310.opt-2.pyc
o 6��f)s � @ s d Z dZd ZdZdZdZdZdZddlZddl Z ddl Z ddlZdd lT g d �Zdd� Z zdd lmZmZmZ dd� ZW n eyJ dd� ZY nw dd� Zdd� Zdd� Zdd� Zdd� Zejje_dd� Zdd� Zdd � Z d!d"� Z!zdd#l"m#Z# W n ey� dZ#Y nw d$d%� Z$d&d'� Z%d(d)� Z&d*d+� Z'd,d-� Z(zdd.l"m)Z) W n ey� e(Z*Y nw d/d0� Z*z dd1l"m+Z+m,Z- W n ey� e*Z.Y nw d2d3� Z/d4d5� Z0d6d7�d8d9�Z.e1e d:�o�e �2� d; d<kZ3dBd=d>�Z4d?d@� Z5z ddAl"m6Z7 W dS e�y Y dS w )C�.�..�\�;�/z.;C:\binZnul� N)�*)&�normcase�isabs�join� splitdrive�split�splitext�basename�dirname�commonprefix�getsize�getmtime�getatime�getctime�islink�exists�lexists�isdir�isfile�ismount� expanduser� expandvars�normpath�abspath�curdir�pardir�sep�pathsep�defpath�altsep�extsep�devnull�realpath�supports_unicode_filenames�relpath�samefile�sameopenfile�samestat� commonpathc C s t | t�rdS dS )N� \/�\/)� isinstance�bytes��path� r4 �-/opt/alt/python310/lib64/python3.10/ntpath.py� _get_bothseps# s r6 )� LCMapStringEx�LOCALE_NAME_INVARIANT�LCMAP_LOWERCASEc C sf t �| �} | s | S t| t�r)t�� }| �|d��dd�} tt t | �} | �|d�S tt t | �dd��S )N�surrogateescaper r )�os�fspathr0 r1 �sys�getfilesystemencoding�decode�replace�_LCMapStringEx�_LOCALE_NAME_INVARIANT�_LCMAP_LOWERCASE�encode)�s�encodingr4 r4 r5 r 3 s � �r c C sB t �| �} t| t�rt �t �| ��dd��� �S | �dd��� S )Nr r )r; r<