jupyter-incubator / contentmanagement

Jupyter Content Management Extensions
Other
78 stars 26 forks source link

Use scandir from Python standard library, if present. #10

Closed jtyberg closed 8 years ago

jtyberg commented 8 years ago

The scandir module is now included in Python 3.5 standard library.

Try importing os.scandir, and fall back to scandir.scandir.