notebook/examples/utils/list_subdirs.ipy
Min RK ea2ed412dd pass on IPython Kernel example notebooks
- Python 3 fixes
- add `%matplotlib notebook` to plotting example
- various copy-editing
2015-02-27 14:54:42 -08:00

7 lines
194 B
Plaintext

# A simple IPython script that lists files in all subdirs
from IPython.display import FileLinks, display
dirs =!ls -d */
for d in dirs:
if d != '__pycache__/':
display(FileLinks(d))