list_subdirs.ipy
5 lines
| 162 B
| text/plain
|
TextLexer
Brian E. Granger
|
r16134 | # 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)) |