On Thursday, August 2, 2012, Nils Bruin <nbr...@sfu.ca> wrote:
> I noticed that on more "public" notebooks, where the sage worker
> processes run under a different UID than the notebook server, there is
> a problem that "DATA" is generally not writable by the worker. That
> means that, for instance for profiling, the command
>
> cProfile.run(cmd, DATA + "profdata")
>
> will fail. Are there reasonable alternatives to DATA as a writable
> location for the worker that is also conveniently accessible from
> other cells?
>

If the data is ephemeral, you could use the tempfile module.

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

-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

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



Reply via email to