File: list_pyfiles.ipy

package info (click to toggle)
ipython 5.8.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,600 kB
  • sloc: python: 34,423; makefile: 174; sh: 143
file content (6 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
# 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))