Python 2.7 Tkinter GUI Example Code

February 28, 2015
Tags:

Some example code for future reference. # This accepts preformatted text from textedit and formats it from bs4 import BeautifulSoup import collections import Tkinter as tk import sys class MyWindow(tk.Frame): def __init__(self, parent): tk.Frame.__init__(self, parent) self.parent = parent self.grid() self.article_url = tk.StringVar() self.article_title = tk.StringVar() self.current_status = tk.StringVar() self.choice = tk.IntVar() self.article_total = 0 for […]

0