Adam Webb wrote: > Hi all, > > I often have multiple files for analysis. For example, I might have a > few hundred spectra in a single directory as a single series. I want > to run a script that loads them one at a time, does something on each, > and returns a result in a final file. This works fine in a local > setting. The question is, how I might do this with a remote server? > Ideally, I would like to be able to set up a notebook that a user can > (easily) use and work on a directory of local files. The user would be > on a Windows machine and Sage would be on a separate machine. > > I can upload one file at a time to the notebook but that gets rather > boring for a hundred files. :-\ I thought about using a zip file but > this is not very user friendly.
How is it not user-friendly? (I'm really curious). Python has some very nice ways with dealing with zip files. Here is some pages from a google search on python and zip: http://docs.python.org/library/zipfile.html http://effbot.org/librarybook/zipfile.htm Is there a better way, i.e. to tell > the notebook to use the local directory? > This is telling a web browser to let javascript read and write to a local directory. I think there are serious security concerns with a web browser being able to do that. There are no ways right now of telling the notebook to use a local directory, if the server is remote. Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org