Help me cythonize a python routine!

Andrea D'Amore and.damore at gmail.com
Thu Nov 10 02:23:49 EST 2016


On 10 November 2016 at 00:15, Steve D'Aprano <steve+python at pearwood.info> wrote:
> py> import collections
[…]
> py> import os
> py> os.listdir('/usr/local/lib/python3.5/collections/')

Not

    os.listdir(collections.__path__[0])

since it's already there?



-- 
Andrea



More information about the Python-list mailing list