관리-도구
편집 파일: FixTk.pyc
� zfc @ sb d d l Z d d l Z y d d l Z e j j j Wn e e f k rW d � Z n Xd � Z e j j e j d � Z e j j e � s� d Z e j d k r� d Z n e j j e j d e d � Z e j j e � Z n e j j e � r^e e � Z d e j k roxc e j e � D]O Z e j d � re j j e e � Z e j j e � rhe e j d <qhqqWn d d l Z e e j � Z d e j k r�e j j e d e � Z e j j e j j e d � � r�e e j d <q�n d e j k r^xc e j e � D]O Z e j d � re j j e e � Z e j j e � rTe e j d <qTqqWq^n d S( i����Nc C s | S( N( ( t s( ( s$ /usr/lib64/python2.7/lib-tk/FixTk.pyt convert_path s c C s t | t � s t � | j d � } t j j j | d d d d d d � } | d k r[ | St j d d � } t j j j | | t | � d � } t j j j | � | d k r� | S| | j d � } | j d � r� | d } n | j d � rd | d } n | S( Nt mbcsi� i i i i����u i � i s \\?\i t UNCs \( t isinstancet strt AssertionErrort decodet ctypest windllt kernel32t CreateFileWt Nonet create_unicode_buffert GetFinalPathNameByHandleWt lent CloseHandlet encodet startswith( R t udirt hdirt buft res( ( s$ /usr/lib64/python2.7/lib-tk/FixTk.pyR s. t tclt tcltki i i t tcltk64t externalst libt TCL_LIBRARYt TK_LIBRARYt tkt tclIndext TIX_LIBRARYt tixI � i���( t syst osR R R R t ImportErrort AttributeErrorR t patht joint prefixt existsR t maxsizet abspatht environt listdirt nameR t tcldirt isdirt _tkinterR t TCL_VERSIONt vert vt tixdir( ( ( s$ /usr/lib64/python2.7/lib-tk/FixTk.pyt <module> sB !