Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)
I don't want to share my SSH access to users of my remote IPython notebook server. Is there a method to let users browse non .ipynb files and download them?

1 Answer

0 votes
by (108k points)
edited by

In that case, you need to refer to FileLink and FileLinks that are built-in packages:

from IPython.display import FileLink, FileLinks

FileLinks('.') #lists all downloadable files on server

The code above generates:

./

some_python_file.py

some_xml_file.xml

some_ipynb_file.ipynb

Want to become a Python Developer? Check out this insightful Python Certification.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...