How to upload and display contents of a file using ipywidgets?

Bottom code block here under ’ Just give me a simple HELLO WORLD example for ipywidgets’ uses the output widget to show text entered in another ipywidgets widget. You can adapt that to tie that in to the upload process.


Also, please learn about posting code in formatted form. If this had been ‘good’ code or on the way to being so, others trying to help you would not be able to use it ‘as-is’. Remember, as much as you can to try and help those trying to help you.
I have suggested exactly this this before to you, see here.