On Mon, 2008-01-07 at 13:32 +0100, Francesc Altet wrote: > mytable.cols._f_col(mytable.colnames[2])[1] = 5 > > BTW, a Table.flush() is only needed when you append/modify the Table > using an iterator, so you don't need to issue it in this case. > > Ciao, >
Thank you very much Ivan and Francesc, I've been able to rapidly solve the problem with your help. I've chosen the last approach you suggested me since in my application it's easier to retrieve the column index instead of the name. So the approaches that require hardcoding of natural column naming inside python instructions are a second choice in my case compared to those where I can directly use the column index or indirectly convert the column index to name (even thought I find natural naming approach very useful when working on the interactive python console). Sincerely. Luca Della Santina University of Pisa Dept. of Human Physiology via S.Zeno 31 56100 Pisa - Italy ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users