Hello!
It may be a naive issue, but I don't know how to solve it. I have a MySQL query which returns an object named DayDataQuery. This is a list with nested list. DayDataQuery[1] will always have the same length, and I will distribute its elements on a dialog using the wx.GridBagSizer. However, DayDataQuery[0] length will vary. How can I add as many wx.GridBagSizer sizers as the DayData[0] length so I can display all the information stored in the object? I paste the DayDataQuery object which contains info on 2 days:
DayDataQuery = [['15', '2010-09-28', 'Spain ', 'Catalunya', 'Emporda Marshes Natural Park', 'acrocephalus', '0:00:00', '0:00:00', '15.0', '24.0', '5', '3', '10', '10', 'Very windy day', '1', '1', '1', '1', '1', '1', '0', '0'], ['16', '2010-09-28', 'Spain ', 'Catalunya', 'Lleida Drylands', 'acrocephalus', '5:30:00', '19:00:00', '8.0', '15.0', '0', '0', '10', '10', "APNAE", '1', '1', '1', '1', '1', '0', '0', '0']]
Cheers!
Dani
···
--
Daniel Valverde Saub�
c/Joan Maragall 37 4 2
17002 Girona
Spain
Tel�fon m�bil: +34651987662
e-mail: dani.valverde@gmail.com
http://www.acrocephalus.net
http://natupics.blogspot.com
Si no �s del tot necessari, no imprimeixis aquest missatge. Si ho fas utilitza paper 100% reciclat i blanquejat sense clor. D'aquesta manera ajudar�s a estalviar aigua, energia i recursos forestals. GR�CIES!
Do not print this message unless it is absolutely necessary. If you must print it, please use 100% recycled paper whitened without chlorine. By doing so, you will save water, energy and forest resources. THANK YOU!