Hi Matthias,

thanks for the reply.

>> The machine that host the kernel, and I guess relative to the 
kernel cwd (a) 
>> The machine that host the server and relative to the notebook 
location on the server (b) 
>> The user web browser (c)


I would rather have (a) or (b).  It doesnot make a difference for me, since 
my kernel and server are in the same machine.
I have tried  QT based solution and  is a very clunky solution.

I tried using the jupyter-js-ui solution. So far I have been able to show 
the file browser in a webpage. But I need to make it appear as a pop-up 
dialog.
Is there any pointers for that.

<https://lh3.googleusercontent.com/-fCo-Lv81Oy8/V6PP9TD3emI/AAAAAAAAAAM/3lUcktdZZDoQLL6VoyO_K7DtbJq03cM_wCLcB/s1600/foo2.png>



















-thanks
-koshy


On Tuesday, August 2, 2016 at 1:46:36 PM UTC-7, Matthias Bussonnier wrote:
>
> I think there is a deeper question, 
>
> Are you trying to get a file path for which machine : 
>    - The machine that host the kernel, and I guess relative to the 
> kernel cwd (a) 
>    - The machine that host the server and relative to the notebook 
> location on the server (b) 
>    - the user web browser (c), [not sure relative to what] 
>
> Even if these 3 are potentially on the same machine, the possibilities 
> are different, the meaning are different, and from previous discussion 
> you seem to not really see the difference. 
> Widgets and QT provides (a), <input type="file"> provides (c) , and 
> https://github.com/jupyter-attic/jupyter-js-ui. provide (b). 
>
> You need to define clearly which use case you want to get a clear answer. 
>
> -- 
> M 
>
> On Tue, Aug 2, 2016 at 10:18 AM, Thomas Kluyver <[email protected] 
> <javascript:>> wrote: 
> > On 2 August 2016 at 18:11, Hai Nguyen <[email protected] <javascript:>> 
> wrote: 
> >> 
> >> I am not sure if you can even do that in Javascript (for security 
> reason). 
> > 
> > 
> > As far as I know you cannot get the path of a file directly in 
> Javascript. 
> > You would have to make a file picker that communicates with the server 
> to 
> > list directory contents and create a path. 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jupyter/CAOvn4qgYPvErNLGETxgydc7i3LN5LG%2Bw-%2BLUPCMK%2B9Fq6%2BvFWQ%40mail.gmail.com.
>  
>
> > 
> > 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/2fd5c49f-f54e-416f-9361-0fc595e888c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to