Dynamic Lists, or...?

2005-06-11 Thread Lorn
. Could anyonw give any suggestions on how to best approach this problem, hopefully I've been clear enough? Any help would be very gratly appreciated. Best regards, Lorn -- http://mail.python.org/mailman/listinfo/python-list

String manipulations

2005-05-28 Thread Lorn
from a bunch of if then's. Does anyone have any ideas on how to do this more efficiently? Many Thanks, Lorn -- http://mail.python.org/mailman/listinfo/python-list

Re: String manipulations

2005-05-28 Thread Lorn
Yes, that would get rid of the decimals... but it wouldn't get rid of the extraneous precision. Unfortunately, the precision out to the ten thousandth is noise... I don't need to round it either as the numbers are artifacts of an integer to float conversion. Basically, I need to know how many

Re: String manipulations

2005-05-28 Thread Lorn
Thank you Elliot, this solution is the one I was trying to come up with. Thank you for your help and thank you to everyone for their suggestions. Best regards, Lorn -- http://mail.python.org/mailman/listinfo/python-list

Memory errors with large zip files

2005-05-20 Thread Lorn
files of this size would be very helpful. Best regards, Lorn -- http://mail.python.org/mailman/listinfo/python-list

Re: Extracting multiple zip files in a directory

2005-05-19 Thread Lorn
Ok, I probably should have seen this coming. Working with small zip files is no problem with the above script. However, when opening a 120+ MB compressed file that uncompresses to over 1GB, I unfortunately get memory errors. Is this because python is holding the extracted file in memory, as

Extracting multiple zip files in a directory

2005-05-18 Thread Lorn
I've been working on this code somewhat succesfully, however I'm unable to get it to iterate through all the zip files in the directory. As of now it only extracts the first one it finds. If anyone could lend some tips on how my iteration scheme should look, it would be hugely appreciated. Here is

Re: Extracting multiple zip files in a directory

2005-05-18 Thread Lorn
Thanks John, this works great! Was wondering what your reasoning is behind replacing filter with the x for x statement? Appreciate the help, thanks again. Lorn -- http://mail.python.org/mailman/listinfo/python-list

Re: Working with Huge Text Files

2005-03-19 Thread Lorn Davies
all again for your great replies and thank you Chirag for getting me up and going. Lorn -- http://mail.python.org/mailman/listinfo/python-list

Working with Huge Text Files

2005-03-18 Thread Lorn Davies
? I really hope not. I've been looking at simpleParse, but it's a bit intense at first glance... not sure where to start, or even if I need to go that route. Any help from you guys in what direction to go or how to approach this would be hugely appreciated. Best regards, Lorn -- http