Your IP : 3.142.198.250
3
��2a8 � @ sN d dl Z d dlmZ G dd� d�Zdd� ZedkrJd dlmZ ed d
d� dS )� N)�
messageboxc @ s^ e Zd ZddlmZ dd� Zddd�Zddd �Zdd
d�Zdd
� Z dd� Z
dd� Zdd� ZdS )�FileListr )�EditorWindowc C s || _ i | _i | _i | _d S )N)�root�dict�inversedict�vars)�selfr � r
�-/opt/alt/python36/lib64/python3.6/filelist.py�__init__ s zFileList.__init__Nc C s� | j |�}tjj|�r2tjdd|f | jd� d S tjj|�}|| jkr`| j| }|j j
� |S |rl||�S | j| ||�}|jr�|S |j
� d S d S )Nz
File Errorz%r is a directory.)�master)�canonize�os�path�isdir�tkMessageBox� showerrorr �normcaser �top�wakeupr Z good_loadZ_close)r �filename�action�key�editr
r
r �open s&