Find in ipython3
Laura Creighton
lac at openend.se
Sun Jun 7 09:01:43 EDT 2015
In a message of Sun, 07 Jun 2015 12:27:05 +0200, Peter Otten writes:
>> There is no gain to get in standard Python? By switching from fnmatch
>> to re I got almost a speed gain of two. So I was wondering if I could
>> do more.
>
>Just wait for Python 3.5. The switch from os.listdir() to the (new)
>os.scandir() in the implementation of os.walk() is likely to improve the
>situation:
Oh cool. I had no idea. Thank you for showing us this.
Laura
More information about the Python-list
mailing list