[Tutor] Reading/dealing/matching with truly huge (ascii) files
Mark Lawrence
breamoreboy at yahoo.co.uk
Thu Feb 23 03:14:37 CET 2012
On 23/02/2012 01:55, Elaina Ann Hyde wrote:
[big snips]
Hi Elaina,
I'm sorry but I can't help with your problem with the memory cos I don't
know enough about the combination of Python and Unix wrt memory
management. However can I suggest that you use more whitespace in your
code to make it easier on all MkI eyeballs, e.g. you have
Decdeg2=dat2['col4']+(dat2['col5']/60.)+(dat2['col6']/(60.*60.))
I think this looks better as
Decdeg2 = dat2['col4'] + (dat2['col5']/60.) + (dat2['col6'] / (60.*60.))
--
Cheers.
Mark Lawrence.
More information about the Tutor
mailing list