How to remove subset from a file efficiently?

bonono at gmail.com bonono at gmail.com
Sat Jan 14 02:58:51 EST 2006


fynali wrote:
> [bonono]
> > Have you tried the explicit loop variant with psyco ?
>
> Sure I wouldn't mind trying; can you suggest some code snippets along
> the lines of which I should try...?
>
>     [fynali]
>     > Needless to say, I'm utterly new to python and my programming
>     > skills & know-how are rudimentary.
>
> (-:
>
> --
> fynali

just add :

import psyco
psyco.full()

to the beginning of the code from Fredrik for 2.2(the one using dict
and list comprehension). You system may not have the psyco module
though.




More information about the Python-list mailing list