GUI Programming in Python For Beginners: Create a Timer in 30 Minutes
Mar 26, 2009, 21:01 (0 Talkback[s])
(Other stories by Akkana Peck)
"TkInter isn't necessarily the most powerful of the Python
windowing packages, but it's well supported on all operating
systems. You can give your application to your Windows- and
Mac-using friends and they'll be able to run it, as long as they
have Python installed. On Linux, though, you may have to install
it: on Ubuntu or Debian the package is named python-tk, while in
Fedora it's tkinter.
"For a project, start with a simple one. How about an
"eggtimer"? I'm always forgetting that I have cornbread baking in
the oven, or that I turned on the sprinklers in the garden. I need
something to remind me.
"Let's start with a very simple Tkinter program. Paste the
following into your editor of choice (vim, emacs, kate, leafpad or
whatever) and write it to a file named, say, eggtimer:"
- Intro to Shell Programming: Writing a Simple Web Gallery(Mar 12, 2009)
- Weighing in on SCaLE(Feb 19, 2009)
- The Linux CLI for Beginners, or, Fear Not the Linux Command Line!(Dec 12, 2008)
- Why Firefox Rocks: Great Firefox Tricks, Part IV(Nov 20, 2008)
- Why Firefox Rocks on Linux: Great Firefox Tricks, Part III(Nov 06, 2008)
- Quick Firefox Tip: Word Count Bookmarklet(Nov 06, 2008)
- Roll Your Own Custom Bookmarklets In Firefox, part 2(Oct 23, 2008)