On Wed, Feb 4, 2009 at 3:29 AM, Martin Albrecht
<m...@informatik.uni-bremen.de> wrote:
>
>> Hmm... there might actually be no way to do that.   Just to start
>> thinking about this, we would need:
>>
>>  (1) a special URL to go to, e.g.,
>> http://localhost:8000/open_file/absolute_path_to_file_on_local_filesystem.s
>>age
>
> This would open the file dialog in my browser, right?

Yes.

> AFAIK websites can't
> just open local files and they shouldn't:

Since this is localhost this is trivial to do.  I don't understand why
you think it wouldn't be????

>
> """
> Dear Sage user,
>
> just click on this link to see a proof of the Riemann hypothesis done in Sage:
>
>  http://localhost:8000/open_file/etc/passwd
> """

So?   You could also type

os.system('cat /etc/passwd')

in any notebook cell and cell exactly the same thing.

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to