Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Python4Kids New Tutorial: Class Inheritance

Mar 17, 2012, 07:02 (0 Talkback[s])
(Other stories by Brendan Scott)

[ Thanks to Brendan Scott for this link. ]

"n the previous tutorial we learnt that when we pack Tkinter objects, the order in which we pack them affects how they are displayed in the GUI. We used a Text widget to enable the user to edit text in the GUI. We also learnt to use a Frame widget to help with the layout of our GUI. In particular, we put a Label and a Text widget together into one Frame, and put an ok and cancel Button into another. For homework you needed to get data from the Text widget.

"In order to display all of the configuration options we are going to go a bit nutty using Frames. We will eventually (but not today) use one Frame to hold all of the configuration options, and another Frame to hold the Ok and Cancel buttons. But that?s not all! We will also use a Frame to house each configuration option (ie key and value pair). Before we do that though, we need to remember where we were up to reading and parsing the server.properties file."

Complete Story

Related Stories: