Thanks!

I tried also to make a folder .sage inside of PROGRAMS, and, inside of
sage session:

notebook(directory=PROGRAMS/.sage)

this way I can attach files inside of programs just by doing attach
file.sage.  The problem, as you mentioned above is that it cannot see
the other worksheets inside of ~/.sage, and one sets another
password...

The proposal in the ticket would certainly solve this.

Thanks a bunch.
-Adrian.

On Feb 3, 4:30 pm, William Stein <[email protected]> wrote:
> On Tue, Feb 3, 2009 at 3:12 PM, adrian <[email protected]> wrote:
>
> > I just changed all to absolute paths, and called the file using an
> > absolute path.  It works now.  So I guess I made a mistake earlier.
> > So, I guess there are no bugs in attach.
>
> > Still, this is not a good solution to me, since that would force me to
> > modify all the files if I move the directory around, or change from
> > one computer to a different one. The best solution I did was to do the
> > symlinks to .sage.
>
> > I still don't understand what happens if I change the DIR variable.
>
> > Thanks.  I guess my wish is to be able to change the working
> > directory, at least for files that are attached.
>
> > Thanks a bunch.
>
> I made a ticket that I think would accomplish this:
>
> http://trac.sagemath.org/sage_trac/ticket/5169
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to