notebook/examples/utils/list_subdirs.ipy
2014-04-01 15:51:13 -07:00

6 lines
162 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:
display(FileLinks(d))