I found this beautiful implementation of a Qt here Unfortunately, that does not work when the notebook is not local. I wonder whether anyone knows an implementation that works also in remote notebooks.
Asked
Active
Viewed 5,598 times
1
-
No one knows. No, no, no. – Soerendip Feb 08 '19 at 04:02
2 Answers
2
I think you should have a look into the ipyvuetify FileInput component
I use it on a remote notebook and it works like a charm
import ipywidgets as widgets
from ipyvuetify.extra import FileInput
import hashlib
file_input = FileInput()
file_input
myfiles = file_input.get_files()
myfiles[0]
you can then do whatever you want with the content of myfiles (upload, modify, copy... etc)

Pierrick Rambaud
- 1,726
- 1
- 20
- 47