Re: [Tutor] interface

2015-12-20 Thread Alan Gauld
On 20/12/15 20:00, Alex Kleider wrote: >> But because Tix is a superset of Tkinter I rarely use >> raw Tkinter nowadays I usually just start with Tix. > > Thanks for the background insight. > How does Ttk (T for 'themed' I assume) fit in? is it used in addition to > Tix Yes. Tkinter and Tix bot

Re: [Tutor] Object oriented design

2015-12-20 Thread Danny Yoo
On Sat, Dec 19, 2015 at 4:48 PM, jamie hu wrote: >I am starting with Python object oriented concepts and have difficulty in >understanding object instantiation. Below is an example code that I am >trying to think/implement. I can create a given student object based on >given firstn

Re: [Tutor] interface

2015-12-20 Thread Alex Kleider
On 2015-12-20 06:11, Alan Gauld wrote: On 20/12/15 02:21, Alex Kleider wrote: First I've heard of Tix! A potentially useful set of extra widgets on top of Tkinter. Unfortunately the Tkinter port of the original Tcl/Tk TIX package is incomplete and only reliable for about half the extended wid

Re: [Tutor] interface

2015-12-20 Thread Alan Gauld
On 20/12/15 02:21, Alex Kleider wrote: > First I've heard of Tix! > Much to learn. A potentially useful set of extra widgets on top of Tkinter. Unfortunately the Tkinter port of the original Tcl/Tk TIX package is incomplete and only reliable for about half the extended widgets (thankfully the mos

[Tutor] Object oriented design

2015-12-20 Thread jamie hu
* Hi, I am starting with Python object oriented concepts and have difficulty in understanding object instantiation. Below is an example code that I am trying to think/implement. I can create a given student object based on given firstname, lastname and grade. How do I find all ob

Re: [Tutor] Python String and Unicode data types and Encode Decode Functions

2015-12-20 Thread Steven D'Aprano
On Sun, Dec 20, 2015 at 08:17:21AM +0530, Anshu Kumar wrote: > I know certain facts like What version of Python are you using? My *guess* is that you are using Python 2.7, is that correct? What operating system are you using? Windows, Linux, Mac OS X, Unix, something else? > 1. String is not

Re: [Tutor] Object oriented design

2015-12-20 Thread Alan Gauld
On 20/12/15 00:48, jamie hu wrote: >trying to think/implement. I can create a given student object based on >given firstname, lastname and grade. How do I find all objects matching >particular criteria and return them to caller? Do I need to iterate/select >through some list/databa

[Tutor] Python String and Unicode data types and Encode Decode Functions

2015-12-20 Thread Anshu Kumar
Hi Everyone, In my current project I am dealing a lot with unicode type. There are some text files which contain unicode to accommodate data in multiple languages. I have to continuously parse these files in xml or yaml format using xml and yaml libraries. I have encountered several errors due to