File: list_pyfiles.ipy

package info (click to toggle)
ipython 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,032 kB
  • ctags: 15,433
  • sloc: python: 73,792; makefile: 428; sh: 297
file content (6 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (14)
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))