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 » Tue Oct 18, 2016 9:28 am

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 41 times

User avatar
xaviou
Super wx Problem Solver
Super wx Problem Solver
Posts: 428
Joined: Mon Aug 21, 2006 3:18 pm
Location: Annecy - France
Contact:

Re: size of a dynamic list in python

Post by xaviou » Tue Oct 18, 2016 11:40 am

Hi

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

Regards
Xav'
My wxWidgets stuff web page : [email protected]'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 » Wed Oct 19, 2016 9:12 am

yes

Post Reply