notebook/examples/utils/list_subdirs.ipy

6 lines
162 B
Plaintext
Raw Normal View History

# 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))