On Sun, Jul 31, 2016 at 5:43 AM, <[email protected]> wrote:

> Hi,
>
> I would like to implement a file browser dialog in a jupyter notebook.
>

you can check examples from ipywidgets:
https://github.com/ipython/ipywidgets/tree/master/docs/source/examples

Hai


>
> ie: when some widget button is pressed a file-browser dialog pops up over
> the browser, and the user selects a file.
>
> I have tried a few methods so far, but I am not satisfied with any of these
>
> 1)
> I have tried it with a pure javascript/html code using the construct  <input
> type="file">.  But using this method I can get just the name of the file
> selected. not even the relative path, or let alone the absolute path of the
> file.
>
> 2)
> I have implemented a solution using PySide, a python binding for QT. Using
> this solution, I can get the file path. But QT brings a whole lot of
> baggage to software which I would like to avoid.
>
> 3)
> Is there a node-js based solution, Is there any sample code for such a
> file-browser?
> I took a look at https://github.com/jupyter-attic/jupyter-js-ui. But I am
> having a hard time trying to come up with some working version of sample
> code.
>
> -thanks
> -koshy
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/8b313f6e-4a56-4f1c-bd90-b41993be9e9f%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/8b313f6e-4a56-4f1c-bd90-b41993be9e9f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAFNMPM-O%2BaNE1VQ7J4f_mvGQmNTVAArOPHS7CXSWwsEWvuTqZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to