Last active
August 9, 2018 18:57
-
-
Save jarobins/c420767004d2e07b0b85aa9192ad857e to your computer and use it in GitHub Desktop.
Python TK Base
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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