Skip to content

Instantly share code, notes, and snippets.

@jarobins
Last active August 9, 2018 18:57
Show Gist options
  • Save jarobins/c420767004d2e07b0b85aa9192ad857e to your computer and use it in GitHub Desktop.
Save jarobins/c420767004d2e07b0b85aa9192ad857e to your computer and use it in GitHub Desktop.
Python TK Base
# File: tk_base.py
# Author: Jake Robinson
# Date: 09AUG2018
from Tkinter import *
import datetime
class App:
def __init__(self, master):
frame = Frame(master)
frame.pack()
self.canvas_frame = Frame(frame, width=800, height=600)
self.canvas_frame.pack()
def test_print(self):
print "TK Base Program"
root = Tk()
app = App(master=root)
root.title("TK Base Program")
root.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment