Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.149.24.115
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python2.7 /
idlelib /
Delete
Unzip
Name
Size
Permission
Date
Action
Icons
[ DIR ]
drwxr-xr-x
2024-06-13 10:37
idle_test
[ DIR ]
drwxr-xr-x
2024-06-13 10:37
AutoComplete.py
8.75
KB
-rw-r--r--
2024-04-10 04:58
AutoComplete.pyc
7.82
KB
-rw-r--r--
2024-04-10 04:58
AutoComplete.pyo
7.82
KB
-rw-r--r--
2024-04-10 04:58
AutoCompleteWindow.py
16.91
KB
-rw-r--r--
2024-04-10 04:58
AutoCompleteWindow.pyc
12.19
KB
-rw-r--r--
2024-04-10 04:58
AutoCompleteWindow.pyo
12.13
KB
-rw-r--r--
2024-04-10 04:58
AutoExpand.py
3.32
KB
-rw-r--r--
2024-04-10 04:58
AutoExpand.pyc
3.42
KB
-rw-r--r--
2024-04-10 04:58
AutoExpand.pyo
3.42
KB
-rw-r--r--
2024-04-10 04:58
Bindings.py
2.91
KB
-rw-r--r--
2024-04-10 04:58
Bindings.pyc
4.58
KB
-rw-r--r--
2024-04-10 04:58
Bindings.pyo
4.58
KB
-rw-r--r--
2024-04-10 04:58
CREDITS.txt
1.82
KB
-rw-r--r--
2024-04-10 04:58
CallTipWindow.py
5.92
KB
-rw-r--r--
2024-04-10 04:58
CallTipWindow.pyc
5.99
KB
-rw-r--r--
2024-04-10 04:58
CallTipWindow.pyo
5.99
KB
-rw-r--r--
2024-04-10 04:58
CallTips.py
7.56
KB
-rw-r--r--
2024-04-10 04:58
CallTips.pyc
7.94
KB
-rw-r--r--
2024-04-10 04:58
CallTips.pyo
7.94
KB
-rw-r--r--
2024-04-10 04:58
ChangeLog
55.07
KB
-rw-r--r--
2024-04-10 04:58
ClassBrowser.py
6.83
KB
-rw-r--r--
2024-04-10 04:58
ClassBrowser.pyc
9.28
KB
-rw-r--r--
2024-04-10 04:58
ClassBrowser.pyo
9.28
KB
-rw-r--r--
2024-04-10 04:58
CodeContext.py
8.15
KB
-rw-r--r--
2024-04-10 04:58
CodeContext.pyc
6.5
KB
-rw-r--r--
2024-04-10 04:58
CodeContext.pyo
6.46
KB
-rw-r--r--
2024-04-10 04:58
ColorDelegator.py
9.53
KB
-rw-r--r--
2024-04-10 04:58
ColorDelegator.pyc
8.69
KB
-rw-r--r--
2024-04-10 04:58
ColorDelegator.pyo
8.69
KB
-rw-r--r--
2024-04-10 04:58
Debugger.py
17.81
KB
-rw-r--r--
2024-04-10 04:58
Debugger.pyc
17.13
KB
-rw-r--r--
2024-04-10 04:58
Debugger.pyo
17.13
KB
-rw-r--r--
2024-04-10 04:58
Delegator.py
665
B
-rw-r--r--
2024-04-10 04:58
Delegator.pyc
1.24
KB
-rw-r--r--
2024-04-10 04:58
Delegator.pyo
1.24
KB
-rw-r--r--
2024-04-10 04:58
EditorWindow.py
63.96
KB
-rw-r--r--
2024-04-10 04:58
EditorWindow.pyc
55.53
KB
-rw-r--r--
2024-04-10 04:58
EditorWindow.pyo
55.43
KB
-rw-r--r--
2024-04-10 04:58
FileList.py
3.63
KB
-rw-r--r--
2024-04-10 04:58
FileList.pyc
3.93
KB
-rw-r--r--
2024-04-10 04:58
FileList.pyo
3.9
KB
-rw-r--r--
2024-04-10 04:58
FormatParagraph.py
7.12
KB
-rw-r--r--
2024-04-10 04:58
FormatParagraph.pyc
6.97
KB
-rw-r--r--
2024-04-10 04:58
FormatParagraph.pyo
6.97
KB
-rw-r--r--
2024-04-10 04:58
GrepDialog.py
5.02
KB
-rw-r--r--
2024-04-10 04:58
GrepDialog.pyc
6.27
KB
-rw-r--r--
2024-04-10 04:58
GrepDialog.pyo
6.27
KB
-rw-r--r--
2024-04-10 04:58
HISTORY.txt
10.08
KB
-rw-r--r--
2024-04-10 04:58
HyperParser.py
10.25
KB
-rw-r--r--
2024-04-10 04:58
HyperParser.pyc
6.52
KB
-rw-r--r--
2024-04-10 04:58
HyperParser.pyo
6.52
KB
-rw-r--r--
2024-04-10 04:58
IOBinding.py
21.4
KB
-rw-r--r--
2024-04-10 04:58
IOBinding.pyc
18.1
KB
-rw-r--r--
2024-04-10 04:58
IOBinding.pyo
18.1
KB
-rw-r--r--
2024-04-10 04:58
IdleHistory.py
3.96
KB
-rw-r--r--
2024-04-10 04:58
IdleHistory.pyc
3.96
KB
-rw-r--r--
2024-04-10 04:58
IdleHistory.pyo
3.96
KB
-rw-r--r--
2024-04-10 04:58
MultiCall.py
17.29
KB
-rw-r--r--
2024-04-10 04:58
MultiCall.pyc
15.97
KB
-rw-r--r--
2024-04-10 04:58
MultiCall.pyo
15.9
KB
-rw-r--r--
2024-04-10 04:58
MultiStatusBar.py
1.32
KB
-rw-r--r--
2024-04-10 04:58
MultiStatusBar.pyc
2.23
KB
-rw-r--r--
2024-04-10 04:58
MultiStatusBar.pyo
2.23
KB
-rw-r--r--
2024-04-10 04:58
NEWS.txt
46.14
KB
-rw-r--r--
2024-04-10 04:58
ObjectBrowser.py
4.27
KB
-rw-r--r--
2024-04-10 04:58
ObjectBrowser.pyc
6.9
KB
-rw-r--r--
2024-04-10 04:58
ObjectBrowser.pyo
6.9
KB
-rw-r--r--
2024-04-10 04:58
OutputWindow.py
4.47
KB
-rw-r--r--
2024-04-10 04:58
OutputWindow.pyc
5.11
KB
-rw-r--r--
2024-04-10 04:58
OutputWindow.pyo
5.11
KB
-rw-r--r--
2024-04-10 04:58
ParenMatch.py
6.56
KB
-rw-r--r--
2024-04-10 04:58
ParenMatch.pyc
6.96
KB
-rw-r--r--
2024-04-10 04:58
ParenMatch.pyo
6.96
KB
-rw-r--r--
2024-04-10 04:58
PathBrowser.py
2.94
KB
-rw-r--r--
2024-04-10 04:58
PathBrowser.pyc
4.38
KB
-rw-r--r--
2024-04-10 04:58
PathBrowser.pyo
4.38
KB
-rw-r--r--
2024-04-10 04:58
Percolator.py
3.15
KB
-rw-r--r--
2024-04-10 04:58
Percolator.pyc
4.5
KB
-rw-r--r--
2024-04-10 04:58
Percolator.pyo
4.32
KB
-rw-r--r--
2024-04-10 04:58
PyParse.py
19.05
KB
-rw-r--r--
2024-04-10 04:58
PyParse.pyc
9.77
KB
-rw-r--r--
2024-04-10 04:58
PyParse.pyo
9.34
KB
-rw-r--r--
2024-04-10 04:58
PyShell.py
57.48
KB
-rwxr-xr-x
2024-04-10 04:58
PyShell.pyc
51.59
KB
-rw-r--r--
2024-04-10 04:58
PyShell.pyo
51.49
KB
-rw-r--r--
2024-04-10 04:58
README.txt
7.71
KB
-rw-r--r--
2024-04-10 04:58
RemoteDebugger.py
11.36
KB
-rw-r--r--
2024-04-10 04:58
RemoteDebugger.pyc
15.94
KB
-rw-r--r--
2024-04-10 04:58
RemoteDebugger.pyo
15.79
KB
-rw-r--r--
2024-04-10 04:58
RemoteObjectBrowser.py
942
B
-rw-r--r--
2024-04-10 04:58
RemoteObjectBrowser.pyc
2.1
KB
-rw-r--r--
2024-04-10 04:58
RemoteObjectBrowser.pyo
2.1
KB
-rw-r--r--
2024-04-10 04:58
ReplaceDialog.py
6.48
KB
-rw-r--r--
2024-04-10 04:58
ReplaceDialog.pyc
7.57
KB
-rw-r--r--
2024-04-10 04:58
ReplaceDialog.pyo
7.57
KB
-rw-r--r--
2024-04-10 04:58
RstripExtension.py
1.03
KB
-rw-r--r--
2024-04-10 04:58
RstripExtension.pyc
1.58
KB
-rw-r--r--
2024-04-10 04:58
RstripExtension.pyo
1.58
KB
-rw-r--r--
2024-04-10 04:58
ScriptBinding.py
8.26
KB
-rw-r--r--
2024-04-10 04:58
ScriptBinding.pyc
8.01
KB
-rw-r--r--
2024-04-10 04:58
ScriptBinding.pyo
8.01
KB
-rw-r--r--
2024-04-10 04:58
ScrolledList.py
4.27
KB
-rw-r--r--
2024-04-10 04:58
ScrolledList.pyc
6.33
KB
-rw-r--r--
2024-04-10 04:58
ScrolledList.pyo
6.33
KB
-rw-r--r--
2024-04-10 04:58
SearchDialog.py
2.57
KB
-rw-r--r--
2024-04-10 04:58
SearchDialog.pyc
3.89
KB
-rw-r--r--
2024-04-10 04:58
SearchDialog.pyo
3.89
KB
-rw-r--r--
2024-04-10 04:58
SearchDialogBase.py
6.93
KB
-rw-r--r--
2024-04-10 04:58
SearchDialogBase.pyc
8.26
KB
-rw-r--r--
2024-04-10 04:58
SearchDialogBase.pyo
8.26
KB
-rw-r--r--
2024-04-10 04:58
SearchEngine.py
7.29
KB
-rw-r--r--
2024-04-10 04:58
SearchEngine.pyc
8.11
KB
-rw-r--r--
2024-04-10 04:58
SearchEngine.pyo
8.11
KB
-rw-r--r--
2024-04-10 04:58
StackViewer.py
4.33
KB
-rw-r--r--
2024-04-10 04:58
StackViewer.pyc
6.25
KB
-rw-r--r--
2024-04-10 04:58
StackViewer.pyo
6.25
KB
-rw-r--r--
2024-04-10 04:58
TODO.txt
8.28
KB
-rw-r--r--
2024-04-10 04:58
ToolTip.py
3.1
KB
-rw-r--r--
2024-04-10 04:58
ToolTip.pyc
4.56
KB
-rw-r--r--
2024-04-10 04:58
ToolTip.pyo
4.56
KB
-rw-r--r--
2024-04-10 04:58
TreeWidget.py
14.68
KB
-rw-r--r--
2024-04-10 04:58
TreeWidget.pyc
17.28
KB
-rw-r--r--
2024-04-10 04:58
TreeWidget.pyo
17.28
KB
-rw-r--r--
2024-04-10 04:58
UndoDelegator.py
10.53
KB
-rw-r--r--
2024-04-10 04:58
UndoDelegator.pyc
13.24
KB
-rw-r--r--
2024-04-10 04:58
UndoDelegator.pyo
13.24
KB
-rw-r--r--
2024-04-10 04:58
WidgetRedirector.py
6.74
KB
-rw-r--r--
2024-04-10 04:58
WidgetRedirector.pyc
7.59
KB
-rw-r--r--
2024-04-10 04:58
WidgetRedirector.pyo
7.59
KB
-rw-r--r--
2024-04-10 04:58
WindowList.py
2.42
KB
-rw-r--r--
2024-04-10 04:58
WindowList.pyc
3.55
KB
-rw-r--r--
2024-04-10 04:58
WindowList.pyo
3.55
KB
-rw-r--r--
2024-04-10 04:58
ZoomHeight.py
1.27
KB
-rw-r--r--
2024-04-10 04:58
ZoomHeight.pyc
1.61
KB
-rw-r--r--
2024-04-10 04:58
ZoomHeight.pyo
1.61
KB
-rw-r--r--
2024-04-10 04:58
__init__.py
288
B
-rw-r--r--
2024-04-10 04:58
__init__.pyc
431
B
-rw-r--r--
2024-04-10 04:58
__init__.pyo
431
B
-rw-r--r--
2024-04-10 04:58
aboutDialog.py
6.85
KB
-rw-r--r--
2024-04-10 04:58
aboutDialog.pyc
6.69
KB
-rw-r--r--
2024-04-10 04:58
aboutDialog.pyo
6.69
KB
-rw-r--r--
2024-04-10 04:58
config-extensions.def
2.9
KB
-rw-r--r--
2024-04-10 04:58
config-highlight.def
2.46
KB
-rw-r--r--
2024-04-10 04:58
config-keys.def
7.59
KB
-rw-r--r--
2024-04-10 04:58
config-main.def
2.5
KB
-rw-r--r--
2024-04-10 04:58
configDialog.py
64.41
KB
-rw-r--r--
2024-04-10 04:58
configDialog.pyc
52.04
KB
-rw-r--r--
2024-04-10 04:58
configDialog.pyo
52.04
KB
-rw-r--r--
2024-04-10 04:58
configHandler.py
31.72
KB
-rw-r--r--
2024-04-10 04:58
configHandler.pyc
28.67
KB
-rw-r--r--
2024-04-10 04:58
configHandler.pyo
28.67
KB
-rw-r--r--
2024-04-10 04:58
configHelpSourceEdit.py
6.53
KB
-rw-r--r--
2024-04-10 04:58
configHelpSourceEdit.pyc
6.44
KB
-rw-r--r--
2024-04-10 04:58
configHelpSourceEdit.pyo
6.44
KB
-rw-r--r--
2024-04-10 04:58
configSectionNameDialog.py
3.95
KB
-rw-r--r--
2024-04-10 04:58
configSectionNameDialog.pyc
4.32
KB
-rw-r--r--
2024-04-10 04:58
configSectionNameDialog.pyo
4.32
KB
-rw-r--r--
2024-04-10 04:58
dynOptionMenuWidget.py
1.94
KB
-rw-r--r--
2024-04-10 04:58
dynOptionMenuWidget.pyc
2.72
KB
-rw-r--r--
2024-04-10 04:58
dynOptionMenuWidget.pyo
2.72
KB
-rw-r--r--
2024-04-10 04:58
extend.txt
3.56
KB
-rw-r--r--
2024-04-10 04:58
help.html
41.42
KB
-rw-r--r--
2024-04-10 04:58
help.py
10.78
KB
-rw-r--r--
2024-04-10 04:58
help.pyc
11.98
KB
-rw-r--r--
2024-04-10 04:58
help.pyo
11.98
KB
-rw-r--r--
2024-04-10 04:58
help.txt
11.86
KB
-rw-r--r--
2024-04-10 04:58
idle.py
453
B
-rw-r--r--
2024-04-10 04:58
idle.pyc
410
B
-rw-r--r--
2024-04-10 04:58
idle.pyo
410
B
-rw-r--r--
2024-04-10 04:58
idle.pyw
563
B
-rw-r--r--
2024-04-10 04:58
idlever.py
415
B
-rw-r--r--
2024-04-10 04:58
idlever.pyc
578
B
-rw-r--r--
2024-04-10 04:58
idlever.pyo
578
B
-rw-r--r--
2024-04-10 04:58
keybindingDialog.py
12.18
KB
-rw-r--r--
2024-04-10 04:58
keybindingDialog.pyc
11.89
KB
-rw-r--r--
2024-04-10 04:58
keybindingDialog.pyo
11.89
KB
-rw-r--r--
2024-04-10 04:58
macosxSupport.py
8.24
KB
-rw-r--r--
2024-04-10 04:58
macosxSupport.pyc
8.16
KB
-rw-r--r--
2024-04-10 04:58
macosxSupport.pyo
8.02
KB
-rw-r--r--
2024-04-10 04:58
rpc.py
19.68
KB
-rw-r--r--
2024-04-10 04:58
rpc.pyc
21.22
KB
-rw-r--r--
2024-04-10 04:58
rpc.pyo
21.12
KB
-rw-r--r--
2024-04-10 04:58
run.py
12.61
KB
-rw-r--r--
2024-04-10 04:58
run.pyc
13.1
KB
-rw-r--r--
2024-04-10 04:58
run.pyo
13.05
KB
-rw-r--r--
2024-04-10 04:58
tabbedpages.py
18.01
KB
-rw-r--r--
2024-04-10 04:58
tabbedpages.pyc
18.13
KB
-rw-r--r--
2024-04-10 04:58
tabbedpages.pyo
18.13
KB
-rw-r--r--
2024-04-10 04:58
textView.py
3.44
KB
-rw-r--r--
2024-04-10 04:58
textView.pyc
3.93
KB
-rw-r--r--
2024-04-10 04:58
textView.pyo
3.93
KB
-rw-r--r--
2024-04-10 04:58
Save
Rename
'''Define SearchDialogBase used by Search, Replace, and Grep dialogs.''' from Tkinter import (Toplevel, Frame, Entry, Label, Button, Checkbutton, Radiobutton) class SearchDialogBase: '''Create most of a 3 or 4 row, 3 column search dialog. The left and wide middle column contain: 1 or 2 labeled text entry lines (make_entry, create_entries); a row of standard Checkbuttons (make_frame, create_option_buttons), each of which corresponds to a search engine Variable; a row of dialog-specific Check/Radiobuttons (create_other_buttons). The narrow right column contains command buttons (make_button, create_command_buttons). These are bound to functions that execute the command. Except for command buttons, this base class is not limited to items common to all three subclasses. Rather, it is the Find dialog minus the "Find Next" command, its execution function, and the default_command attribute needed in create_widgets. The other dialogs override attributes and methods, the latter to replace and add widgets. ''' title = "Search Dialog" # replace in subclasses icon = "Search" needwrapbutton = 1 # not in Find in Files def __init__(self, root, engine): '''Initialize root, engine, and top attributes. top (level widget): set in create_widgets() called from open(). text (Text searched): set in open(), only used in subclasses(). ent (ry): created in make_entry() called from create_entry(). row (of grid): 0 in create_widgets(), +1 in make_entry/frame(). default_command: set in subclasses, used in create_widgers(). title (of dialog): class attribute, override in subclasses. icon (of dialog): ditto, use unclear if cannot minimize dialog. ''' self.root = root self.engine = engine self.top = None def open(self, text, searchphrase=None): "Make dialog visible on top of others and ready to use." self.text = text if not self.top: self.create_widgets() else: self.top.deiconify() self.top.tkraise() self.top.transient(text.winfo_toplevel()) if searchphrase: self.ent.delete(0,"end") self.ent.insert("end",searchphrase) self.ent.focus_set() self.ent.selection_range(0, "end") self.ent.icursor(0) self.top.grab_set() def close(self, event=None): "Put dialog away for later use." if self.top: self.top.grab_release() self.top.transient('') self.top.withdraw() def create_widgets(self): '''Create basic 3 row x 3 col search (find) dialog. Other dialogs override subsidiary create_x methods as needed. Replace and Find-in-Files add another entry row. ''' top = Toplevel(self.root) top.bind("<Return>", self.default_command) top.bind("<Escape>", self.close) top.protocol("WM_DELETE_WINDOW", self.close) top.wm_title(self.title) top.wm_iconname(self.icon) self.top = top self.row = 0 self.top.grid_columnconfigure(0, pad=2, weight=0) self.top.grid_columnconfigure(1, pad=2, minsize=100, weight=100) self.create_entries() # row 0 (and maybe 1), cols 0, 1 self.create_option_buttons() # next row, cols 0, 1 self.create_other_buttons() # next row, cols 0, 1 self.create_command_buttons() # col 2, all rows def make_entry(self, label_text, var): '''Return (entry, label), . entry - gridded labeled Entry for text entry. label - Label widget, returned for testing. ''' label = Label(self.top, text=label_text) label.grid(row=self.row, column=0, sticky="nw") entry = Entry(self.top, textvariable=var, exportselection=0) entry.grid(row=self.row, column=1, sticky="nwe") self.row = self.row + 1 return entry, label def create_entries(self): "Create one or more entry lines with make_entry." self.ent = self.make_entry("Find:", self.engine.patvar)[0] def make_frame(self,labeltext=None): '''Return (frame, label). frame - gridded labeled Frame for option or other buttons. label - Label widget, returned for testing. ''' if labeltext: label = Label(self.top, text=labeltext) label.grid(row=self.row, column=0, sticky="nw") else: label = '' frame = Frame(self.top) frame.grid(row=self.row, column=1, columnspan=1, sticky="nwe") self.row = self.row + 1 return frame, label def create_option_buttons(self): '''Return (filled frame, options) for testing. Options is a list of SearchEngine booleanvar, label pairs. A gridded frame from make_frame is filled with a Checkbutton for each pair, bound to the var, with the corresponding label. ''' frame = self.make_frame("Options")[0] engine = self.engine options = [(engine.revar, "Regular expression"), (engine.casevar, "Match case"), (engine.wordvar, "Whole word")] if self.needwrapbutton: options.append((engine.wrapvar, "Wrap around")) for var, label in options: btn = Checkbutton(frame, anchor="w", variable=var, text=label) btn.pack(side="left", fill="both") if var.get(): btn.select() return frame, options def create_other_buttons(self): '''Return (frame, others) for testing. Others is a list of value, label pairs. A gridded frame from make_frame is filled with radio buttons. ''' frame = self.make_frame("Direction")[0] var = self.engine.backvar others = [(1, 'Up'), (0, 'Down')] for val, label in others: btn = Radiobutton(frame, anchor="w", variable=var, value=val, text=label) btn.pack(side="left", fill="both") if var.get() == val: btn.select() return frame, others def make_button(self, label, command, isdef=0): "Return command button gridded in command frame." b = Button(self.buttonframe, text=label, command=command, default=isdef and "active" or "normal") cols,rows=self.buttonframe.grid_size() b.grid(pady=1,row=rows,column=0,sticky="ew") self.buttonframe.grid(rowspan=rows+1) return b def create_command_buttons(self): "Place buttons in vertical command frame gridded on right." f = self.buttonframe = Frame(self.top) f.grid(row=0,column=2,padx=2,pady=2,ipadx=2,ipady=2) b = self.make_button("close", self.close) b.lower() if __name__ == '__main__': import unittest unittest.main( 'idlelib.idle_test.test_searchdialogbase', verbosity=2)