Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
Demo /
tkinter /
matt /
Delete
Unzip
Name
Size
Permission
Date
Action
00-HELLO-WORLD.py
724
B
-rw-r--r--
2013-05-11 23:32
00-HELLO-WORLD.pyc
1.27
KB
-rw-r--r--
2025-11-12 09:25
00-HELLO-WORLD.pyo
1.27
KB
-rw-r--r--
2025-11-12 09:25
README
513
B
-rw-r--r--
2013-05-11 23:32
animation-simple.py
939
B
-rw-r--r--
2013-05-11 23:32
animation-simple.pyc
1.68
KB
-rw-r--r--
2025-11-12 09:25
animation-simple.pyo
1.68
KB
-rw-r--r--
2025-11-12 09:25
animation-w-velocity-ctrl.py
1.17
KB
-rw-r--r--
2013-05-11 23:32
animation-w-velocity-ctrl.pyc
1.98
KB
-rw-r--r--
2025-11-12 09:25
animation-w-velocity-ctrl.pyo
1.98
KB
-rw-r--r--
2025-11-12 09:25
bind-w-mult-calls-p-type.py
1.51
KB
-rw-r--r--
2013-05-11 23:32
bind-w-mult-calls-p-type.pyc
1.37
KB
-rw-r--r--
2025-11-12 09:25
bind-w-mult-calls-p-type.pyo
1.37
KB
-rw-r--r--
2025-11-12 09:25
canvas-demo-simple.py
748
B
-rw-r--r--
2013-05-11 23:32
canvas-demo-simple.pyc
1.39
KB
-rw-r--r--
2025-11-12 09:25
canvas-demo-simple.pyo
1.39
KB
-rw-r--r--
2025-11-12 09:25
canvas-gridding.py
2.22
KB
-rw-r--r--
2013-05-11 23:32
canvas-gridding.pyc
2.27
KB
-rw-r--r--
2025-11-12 09:25
canvas-gridding.pyo
2.27
KB
-rw-r--r--
2025-11-12 09:25
canvas-moving-or-creating.py
2.37
KB
-rw-r--r--
2013-05-11 23:32
canvas-moving-or-creating.pyc
2.52
KB
-rw-r--r--
2025-11-12 09:25
canvas-moving-or-creating.pyo
2.52
KB
-rw-r--r--
2025-11-12 09:25
canvas-moving-w-mouse.py
2.08
KB
-rw-r--r--
2013-05-11 23:32
canvas-moving-w-mouse.pyc
2.42
KB
-rw-r--r--
2025-11-12 09:25
canvas-moving-w-mouse.pyo
2.42
KB
-rw-r--r--
2025-11-12 09:25
canvas-mult-item-sel.py
2.77
KB
-rw-r--r--
2013-05-11 23:32
canvas-mult-item-sel.pyc
2.74
KB
-rw-r--r--
2025-11-12 09:25
canvas-mult-item-sel.pyo
2.74
KB
-rw-r--r--
2025-11-12 09:25
canvas-reading-tag-info.py
1.64
KB
-rw-r--r--
2013-05-11 23:32
canvas-reading-tag-info.pyc
1.82
KB
-rw-r--r--
2025-11-12 09:25
canvas-reading-tag-info.pyo
1.82
KB
-rw-r--r--
2025-11-12 09:25
canvas-w-widget-draw-el.py
1.15
KB
-rw-r--r--
2013-05-11 23:32
canvas-w-widget-draw-el.pyc
1.47
KB
-rw-r--r--
2025-11-12 09:25
canvas-w-widget-draw-el.pyo
1.47
KB
-rw-r--r--
2025-11-12 09:25
canvas-with-scrollbars.py
2.06
KB
-rw-r--r--
2013-05-11 23:32
canvas-with-scrollbars.pyc
2.31
KB
-rw-r--r--
2025-11-12 09:25
canvas-with-scrollbars.pyo
2.31
KB
-rw-r--r--
2025-11-12 09:25
dialog-box.py
2.38
KB
-rw-r--r--
2013-05-11 23:32
dialog-box.pyc
1.93
KB
-rw-r--r--
2025-11-12 09:25
dialog-box.pyo
1.93
KB
-rw-r--r--
2025-11-12 09:25
entry-simple.py
729
B
-rw-r--r--
2013-05-11 23:32
entry-simple.pyc
1.05
KB
-rw-r--r--
2025-11-12 09:25
entry-simple.pyo
1.05
KB
-rw-r--r--
2025-11-12 09:25
entry-with-shared-variable.py
1.71
KB
-rw-r--r--
2013-05-11 23:32
entry-with-shared-variable.pyc
1.6
KB
-rw-r--r--
2025-11-12 09:25
entry-with-shared-variable.pyo
1.6
KB
-rw-r--r--
2025-11-12 09:25
killing-window-w-wm.py
1.26
KB
-rw-r--r--
2013-05-11 23:32
killing-window-w-wm.pyc
1.46
KB
-rw-r--r--
2025-11-12 09:25
killing-window-w-wm.pyo
1.46
KB
-rw-r--r--
2025-11-12 09:25
menu-all-types-of-entries.py
8.9
KB
-rw-r--r--
2013-05-11 23:32
menu-all-types-of-entries.pyc
4.85
KB
-rw-r--r--
2025-11-12 09:25
menu-all-types-of-entries.pyo
4.85
KB
-rw-r--r--
2025-11-12 09:25
menu-simple.py
3.17
KB
-rw-r--r--
2013-05-11 23:32
menu-simple.pyc
1.92
KB
-rw-r--r--
2025-11-12 09:25
menu-simple.pyo
1.92
KB
-rw-r--r--
2025-11-12 09:25
not-what-you-might-think-1.py
675
B
-rw-r--r--
2013-05-11 23:32
not-what-you-might-think-1.pyc
1.27
KB
-rw-r--r--
2025-11-12 09:25
not-what-you-might-think-1.pyo
1.27
KB
-rw-r--r--
2025-11-12 09:25
not-what-you-might-think-2.py
747
B
-rw-r--r--
2013-05-11 23:32
not-what-you-might-think-2.pyc
1.3
KB
-rw-r--r--
2025-11-12 09:25
not-what-you-might-think-2.pyo
1.3
KB
-rw-r--r--
2025-11-12 09:25
packer-and-placer-together.py
1.18
KB
-rw-r--r--
2013-05-11 23:32
packer-and-placer-together.pyc
1.36
KB
-rw-r--r--
2025-11-12 09:25
packer-and-placer-together.pyo
1.36
KB
-rw-r--r--
2025-11-12 09:25
packer-simple.py
819
B
-rw-r--r--
2013-05-11 23:32
packer-simple.pyc
1.39
KB
-rw-r--r--
2025-11-12 09:25
packer-simple.pyo
1.39
KB
-rw-r--r--
2025-11-12 09:25
placer-simple.py
1.05
KB
-rw-r--r--
2013-05-11 23:32
placer-simple.pyc
1.26
KB
-rw-r--r--
2025-11-12 09:25
placer-simple.pyo
1.26
KB
-rw-r--r--
2025-11-12 09:25
pong-demo-1.py
1.51
KB
-rw-r--r--
2013-05-11 23:32
pong-demo-1.pyc
2.08
KB
-rw-r--r--
2025-11-12 09:25
pong-demo-1.pyo
2.08
KB
-rw-r--r--
2025-11-12 09:25
printing-coords-of-items.py
2.34
KB
-rw-r--r--
2013-05-11 23:32
printing-coords-of-items.pyc
2.52
KB
-rw-r--r--
2025-11-12 09:25
printing-coords-of-items.pyo
2.52
KB
-rw-r--r--
2025-11-12 09:25
radiobutton-simple.py
1.96
KB
-rw-r--r--
2013-05-11 23:32
radiobutton-simple.pyc
1.82
KB
-rw-r--r--
2025-11-12 09:25
radiobutton-simple.pyo
1.82
KB
-rw-r--r--
2025-11-12 09:25
rubber-band-box-demo-1.py
2.08
KB
-rw-r--r--
2013-05-11 23:32
rubber-band-box-demo-1.pyc
2.51
KB
-rw-r--r--
2025-11-12 09:25
rubber-band-box-demo-1.pyo
2.51
KB
-rw-r--r--
2025-11-12 09:25
rubber-line-demo-1.py
1.87
KB
-rw-r--r--
2013-05-11 23:32
rubber-line-demo-1.pyc
2.22
KB
-rw-r--r--
2025-11-12 09:25
rubber-line-demo-1.pyo
2.22
KB
-rw-r--r--
2025-11-12 09:25
slider-demo-1.py
1000
B
-rw-r--r--
2013-05-11 23:32
slider-demo-1.pyc
1.67
KB
-rw-r--r--
2025-11-12 09:25
slider-demo-1.pyo
1.67
KB
-rw-r--r--
2025-11-12 09:25
subclass-existing-widgets.py
677
B
-rw-r--r--
2013-05-11 23:32
subclass-existing-widgets.pyc
1.21
KB
-rw-r--r--
2025-11-12 09:25
subclass-existing-widgets.pyo
1.21
KB
-rw-r--r--
2025-11-12 09:25
two-radio-groups.py
3.67
KB
-rw-r--r--
2013-05-11 23:32
two-radio-groups.pyc
2.14
KB
-rw-r--r--
2025-11-12 09:25
two-radio-groups.pyo
2.14
KB
-rw-r--r--
2025-11-12 09:25
window-creation-more.py
1020
B
-rw-r--r--
2013-05-11 23:32
window-creation-more.pyc
1.68
KB
-rw-r--r--
2025-11-12 09:25
window-creation-more.pyo
1.68
KB
-rw-r--r--
2025-11-12 09:25
window-creation-simple.py
815
B
-rw-r--r--
2013-05-11 23:32
window-creation-simple.pyc
1.6
KB
-rw-r--r--
2025-11-12 09:25
window-creation-simple.pyo
1.6
KB
-rw-r--r--
2025-11-12 09:25
window-creation-w-location.py
1.29
KB
-rw-r--r--
2013-05-11 23:32
window-creation-w-location.pyc
2.05
KB
-rw-r--r--
2025-11-12 09:25
window-creation-w-location.pyo
2.05
KB
-rw-r--r--
2025-11-12 09:25
Save
Rename
from Tkinter import * # The way to think about this is that each radio button menu # controls a different variable -- clicking on one of the # mutually exclusive choices in a radiobutton assigns some value # to an application variable you provide. When you define a # radiobutton menu choice, you have the option of specifying the # name of a varaible and value to assign to that variable when # that choice is selected. This clever mechanism relieves you, # the programmer, from having to write a dumb callback that # probably wouldn't have done anything more than an assignment # anyway. The Tkinter options for this follow their Tk # counterparts: # {"variable" : my_flavor_variable, "value" : "strawberry"} # where my_flavor_variable is an instance of one of the # subclasses of Variable, provided in Tkinter.py (there is # StringVar(), IntVar(), DoubleVar() and BooleanVar() to choose # from) def makePoliticalParties(var): # make menu button Radiobutton_button = Menubutton(mBar, text='Political Party', underline=0) Radiobutton_button.pack(side=LEFT, padx='2m') # the primary pulldown Radiobutton_button.menu = Menu(Radiobutton_button) Radiobutton_button.menu.add_radiobutton(label='Republican', variable=var, value=1) Radiobutton_button.menu.add('radiobutton', {'label': 'Democrat', 'variable' : var, 'value' : 2}) Radiobutton_button.menu.add('radiobutton', {'label': 'Libertarian', 'variable' : var, 'value' : 3}) var.set(2) # set up a pointer from the file menubutton back to the file menu Radiobutton_button['menu'] = Radiobutton_button.menu return Radiobutton_button def makeFlavors(var): # make menu button Radiobutton_button = Menubutton(mBar, text='Flavors', underline=0) Radiobutton_button.pack(side=LEFT, padx='2m') # the primary pulldown Radiobutton_button.menu = Menu(Radiobutton_button) Radiobutton_button.menu.add_radiobutton(label='Strawberry', variable=var, value='Strawberry') Radiobutton_button.menu.add_radiobutton(label='Chocolate', variable=var, value='Chocolate') Radiobutton_button.menu.add_radiobutton(label='Rocky Road', variable=var, value='Rocky Road') # choose a default var.set("Chocolate") # set up a pointer from the file menubutton back to the file menu Radiobutton_button['menu'] = Radiobutton_button.menu return Radiobutton_button def printStuff(): print "party is", party.get() print "flavor is", flavor.get() print ################################################# #### Main starts here ... root = Tk() # make a menu bar mBar = Frame(root, relief=RAISED, borderwidth=2) mBar.pack(fill=X) # make two application variables, # one to control each radio button set party = IntVar() flavor = StringVar() Radiobutton_button = makePoliticalParties(party) Radiobutton_button2 = makeFlavors(flavor) # finally, install the buttons in the menu bar. # This allows for scanning from one menubutton to the next. mBar.tk_menuBar(Radiobutton_button, Radiobutton_button2) b = Button(root, text="print party and flavor", foreground="red", command=printStuff) b.pack(side=TOP) root.title('menu demo') root.iconname('menu demo') root.mainloop()