File: list_pyfiles.ipy

package info (click to toggle)
jupyter-notebook 6.4.13-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,860 kB
  • sloc: javascript: 20,765; python: 15,658; makefile: 255; sh: 160
file content (6 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (13)
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))