A Dimarts 06 Juny 2006 18:23, Pepe Barbe va escriure: > Hello, > > When I decalred IntCol objects in Table classes, it is required to > specify a length. In my case I have variable length sized strings and > I am using the maximum possible length for length. But when I retrive > the strings, if they are smaller than length then they have some > witespace characters appeneded at the end. Is there a way to retrieve > the strings directly from the db without those chars at the end?
Mmm, you should end with strings without whitespace characters at all (except if you are saving empty array elements that are returned back as single space strings, but this is a know issue with numarray). Which version of PyTables are you using? Can you attach a script that exposes the problem? Cheers, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
