How to remove subset from a file efficiently?

bonono at bonono at
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

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

More information about the Python-list mailing list