Tkinter Framework

from tkinter import * from tkinter import ttk # Function Definitions root = Tk() root.title("Foo") mainframe = ttk.Frame(root) mainframe.grid(column = 0, row = 0) # Code Body root.mainloop()
A boilerplate outline for a Python 3.x GUI app. Creates a window and adds a frame... not much else.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.