escriptor names. 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
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
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 decim
ould
be nice to stay away 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
ify how my code is approaching this or perhaps
how the zipfile code is handling it or do I need to just invest in more
RAM? I currently have 512 MB and thought that would be plenty
perhaps I was wrong :-(. If anyone has any ideas it would truly be very
helpful.
Lorn
--
http://mail.python.org/mailm
or comments on how I might be able to work with zip
files of this size would be very helpful.
Best regards,
Lorn
--
http://mail.python.org/mailman/listinfo/python-list
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 opposed
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
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
" would entail both having to be true before continuing and "x or
y" would mean either could be true before continuing. Python, unless
I'm misunderstanding (very possible), doesn't organize it as such. I
thought of perhaps using a set of if, elif, else statements for
processing the fileds, but didn't think that would be the most
elegant/efficient solution.
Anyway, any critiques/ideas are welcome... they'll most definitely help
me understand this language a bit better. Thank you 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
r a newbie? 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 reg
11 matches
Mail list logo