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

6 lines
182 B
Plaintext

# A simple IPython script that provides Notebook links to .py files in the cwd
from IPython.display import FileLink, display
files =!ls *.py
for f in files:
display(FileLink(f))