##// END OF EJS Templates
- Added a fallback to urllib2 for python2...
- Added a fallback to urllib2 for python2 - included urlopen call in a try/except block to avoid crash when no internet connection is available

File last commit:

r16136:94a4d14e
r21865:a48716ad
Show More
list_pyfiles.ipy
5 lines | 182 B | text/plain | TextLexer
# 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))