[Tutor] update a ws.ListBox

2007-11-28 Thread John Gerdeman
Hello, I'm trying to create a gui using wxpython on ubuntu 6.10 (read, that some functions of wx differ on different OS). I have two Listbox items, Listbox1 and Listbox2. I want to update Listbox2 according to the choice made in Listbox1. I already looked at the wx API doc, but only found method

[Tutor] python 2.4 reading files - unexpected behaviour

2007-11-23 Thread John Gerdeman
Hello, I got a csv file, in which I have to count the occurrences of certain numbers in columns. I can do this for one arbitrary column, but not for all. The problem I encountered is as follows. Iterating through the rows of a file works, but as soon as I try to iterate through the same file aga