On Sat, 27 Jan 2007 21:02:14 -0800, Timothy Clemans <[EMAIL PROTECTED]> wrote:

>
> Could a system be added for loading code from a url

Yes.

> and uploading
> worksheets from urls?

Yes.

In fact -- Great idea!  It wouldn't be hard either, since I just
added (for sage-1.9.1) a file remote_file.py with this
function, which would make adding what you suggest
quite easy.   This will have to wait until > sage-2.0 though.
So this is now trac #225

def get_remote_file(filename, verbose=True):
     """
     INPUT:
         filename -- the URL of a file on the web, e.g.,
              "http://modular.math.washington.edu/myfile.txt";
         verbose -- whether to display download status
     OUTPUT:
         creates a file in the temp directory and returns the
         absolute path to that file.
     """

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to