python Programming Glossary: bold
New Python Programmer Looking for Help to Avoid Recursion with tkinter http://stackoverflow.com/questions/10039485/new-python-programmer-looking-for-help-to-avoid-recursion-with-tkinter to not expand when the font size changes. How to toggle a bold tag on and off of selected text. How to truly center a GUI on.. menu formatmenu self.config menu menubar # Bold Button boldButton tk.Button self width 12 text 'Bold' command self.make_bold.. tk.Button self width 12 text 'Bold' command self.make_bold boldButton.pack # Text widget its font and frame self.defaultFont..
Parsing GPS receiver output via regex in Python http://stackoverflow.com/questions/311763/parsing-gps-receiver-output-via-regex-in-python is some example input with the data we need to extract in bold GPRMC 092204.999 4250.5589 S 14718.5084 E 1 12 24.4 89.6 M 0000..
Advanced Tkinter text box? http://stackoverflow.com/questions/3732605/advanced-tkinter-text-box doesn't have built in spell check or built in buttons for bolding text etc but they are quite easy to implement. All the capabilities.. it. The following example gives you a button to toggle the bold state of the highlighted text select a range of characters then.. then click the button to add and then remove the bold attribute. It should be pretty easy for you to extend this example..
Why can't Python's raw string literals end with a single backslash? http://stackoverflow.com/questions/647769/why-cant-pythons-raw-string-literals-end-with-a-single-backslash in the part of that section which I highlighted in bold String quotes can be escaped with a backslash but the backslash..
Python, tkinter, changing the window basics http://stackoverflow.com/questions/7546050/python-tkinter-changing-the-window-basics concept import Tkinter as tk TITLE_FONT Helvetica 18 bold class SampleApp tk.Tk def __init__ self args kwargs tk.Tk.__init__..
|