File: list_pyfiles.ipy

package info (click to toggle)
jupyter-notebook 4.2.3-4~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 7,804 kB
  • sloc: python: 8,698; makefile: 240; sh: 74
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))