D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
python35
/
lib
/
python3.5
/
idlelib
/
__pycache__
/
Filename :
FileList.cpython-35.opt-2.pyc
back
Copy
p��Y� � @ s[ d d l Z d d l Td d l j Z Gd d � d � Z d d � Z e d k rW e � d S)� N)�*c @ s� e Z d Z d d l m Z d d � Z d d d � Z d d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z d S)�FileListr )�EditorWindowc C s( | | _ i | _ i | _ i | _ d S)N)�root�dict�inversedict�vars)�selfr � r �'/opt/python35/lib/python3.5/FileList.py�__init__ s zFileList.__init__Nc C s� | j | � } t j j | � rE t j d d | f d | j �d St j j | � } | | j k r� | j | } | j j � | S| r� | | � S| j | | | � } | j r� | S| j � d Sd S)Nz File Errorz%r is a directory.�master)�canonize�os�path�isdir�tkMessageBox� showerrorr �normcaser �top�wakeupr Z good_load�_close)r �filename�action�key�editr r r �open s&