notebook/examples/utils/list_subdirs.ipy

7 lines
194 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:
if d != '__pycache__/':
display(FileLinks(d))