Background
Sharing scripts/tools
Example Apps
Tkinter
Considerations
Resources
Request
Client
Coworker
Graphical
User
Interface?
Essentially, it's a collection of Python modules
1. Tk instance
2. Widgets
3. Tkinter event loop
from Tkinter import *
root = Tk()
Button
Canvas
Checkbutton
Entry
Frame
Label
Listbox
Menu
Menubutton
Message
Radiobutton
Scale
Scrollbar
Text
Toplevel
LabelFrame
PanedWindow
# Create widget instance
new_button = Button(tk_instance)
# Style widget
new_button['text'] = 'Click Here'
new_button['command'] = do_something()
# Place widget
new_button.grid(row=0, column=2)
root.mainloop()
import arcpy
class NewClass():
def __init__.py(self):
pass
def method_one(self):
print("I'm a method!")
samg@northpointgis.com
218.720.67.47 ext 4