size of a dynamic list in python

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

size of a dynamic list in python

Post by pikkip »

I have two lists of numbers from users. I have to display them in a grid format. I have attached an example




Since the size is dynamic, I don't know how to set a limit for the loop. Can anyone tell me how to do this using wxpython??? :(
Attachments
example.txt
includes the example
(695 Bytes) Downloaded 104 times
User avatar
xaviou
Super wx Problem Solver
Super wx Problem Solver
Posts: 437
Joined: Mon Aug 21, 2006 3:18 pm
Location: Annecy - France
Contact:

Re: size of a dynamic list in python

Post by xaviou »

Hi

Are you just searching something like "len(list1)" ?

Regards
Xav'
My wxWidgets stuff web page : X@v's wxStuff
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

Re: size of a dynamic list in python

Post by pikkip »

yes
Post Reply