whoami7 - Manager
:
/
proc
/
self
/
root
/
opt
/
alt
/
python37
/
lib64
/
python3.7
/
idlelib
/
__pycache__
/
Upload File:
files >> //proc/self/root/opt/alt/python37/lib64/python3.7/idlelib/__pycache__/pathbrowser.cpython-37.pyc
B � fy � @ s� d dl Zd dlZd dlZd dlmZmZ d dlmZ G dd� de�Z G dd� de�Z G dd � d e�Zd d� Ze dkr�d d lmZ edddd� d dlmZ ee� dS )� N)� ModuleBrowser�ModuleBrowserTreeItem)�TreeItemc @ s, e Zd Zddd�dd�Zdd� Zdd� Zd S ) �PathBrowserF)�_htest�_utestc C s || _ || _|| _| �� dS )zG _htest - bool, change box location when running htest N)�masterr r �init)�selfr r r � r �8/opt/alt/python37/lib64/python3.7/idlelib/pathbrowser.py�__init__ s zPathBrowser.__init__c C s | j �d� | j �d� dS )zSet window titles.zPath BrowserN)�topZwm_titleZwm_iconname)r r r r �settitle s zPathBrowser.settitlec C s t � S )N)�PathBrowserTreeItem)r r r r �rootnode s zPathBrowser.rootnodeN)�__name__� __module__�__qualname__r r r r r r r r s r c @ s e Zd Zdd� Zdd� ZdS )r c C s dS )Nzsys.pathr )r r r r �GetText s zPathBrowserTreeItem.GetTextc C s* g }x t jD ]}t|�}|�|� qW |S )N)�sys�path�DirBrowserTreeItem�append)r �sublist�dir�itemr r r � GetSubList"