How do you do this in python with tk?

Jeremy Bowers jerf at jerf.org
Thu Oct 7 19:23:08 EDT 2004


On Thu, 07 Oct 2004 15:31:19 -0700, Ali wrote:

> I have a the list:
> 
> info = [['Ali',18],
>         ['Zainab',16],
>         ['Khalid',18]]
> 
> I want this info to show on a tk window like this:
> 
> |--|------------------------|
> |TK|Blah                    |
> |--|------------------------|
> |Name: Ali                  |
> |Age:  18                   |
> |                           |
> |Name: Zainab               |
> |Age:  16                   |
> |                           |
> |Name: Khalid               |
> |Age:  18                   |
> |---------------------------|
> 
> I was wondering how to do this?

http://www.pythonware.com/library/tkinter/introduction/grid.htm

Do you even try to figure these things out before posting?



More information about the Python-list mailing list