ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 01 Feb 2017 13:32:35 -0600Where are stored gif files by defaulthttp://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/Ok I know this is a stupid question. (But i spend already half an hour on it :( )
After using a.save('myanime') on a animate I can't find the gif file (which is the default extension AFAIK)
To be more specific:
I am using sage on a linux debian (sage recenlty returned to the debian archives !!:D!!)
so I launch sage in terminal (the binary is installed in my /usr/bin )
and the files seemes to be stored in stuff like
/home/myusername/.sage/sage_notebook.sagenb/home/__store__/2/21/212/2123/admin/9 ...
Is it right ?
In case yes it is painful to look for something outside fromethe sage notebook and I would like to integrate the .gif in another web pages. Maybe I can choose where to save the gif ?Tue, 31 Jan 2017 15:35:02 -0600http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/Comment by kcrisman for <p>Ok I know this is a stupid question. (But i spend already half an hour on it :( )
After using a.save('myanime') on a animate I can't find the gif file (which is the default extension AFAIK)
To be more specific:</p>
<p>I am using sage on a linux debian (sage recenlty returned to the debian archives !!:D!!)
so I launch sage in terminal (the binary is installed in my /usr/bin )
and the files seemes to be stored in stuff like </p>
<p>/home/myusername/.sage/sage_notebook.sagenb/home/__store__/2/21/212/2123/admin/9 ...
Is it right ?</p>
<p>In case yes it is painful to look for something outside fromethe sage notebook and I would like to integrate the .gif in another web pages. Maybe I can choose where to save the gif ?</p>
http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?comment=36426#post-id-36426Not a bad at all! Many people reading this won't know anything about file names or paths. Feel free to accept John's answer if it helped, and then others will know what to do when they are trying it out.Wed, 01 Feb 2017 13:32:35 -0600http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?comment=36426#post-id-36426Comment by Laurent B for <p>Ok I know this is a stupid question. (But i spend already half an hour on it :( )
After using a.save('myanime') on a animate I can't find the gif file (which is the default extension AFAIK)
To be more specific:</p>
<p>I am using sage on a linux debian (sage recenlty returned to the debian archives !!:D!!)
so I launch sage in terminal (the binary is installed in my /usr/bin )
and the files seemes to be stored in stuff like </p>
<p>/home/myusername/.sage/sage_notebook.sagenb/home/__store__/2/21/212/2123/admin/9 ...
Is it right ?</p>
<p>In case yes it is painful to look for something outside fromethe sage notebook and I would like to integrate the .gif in another web pages. Maybe I can choose where to save the gif ?</p>
http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?comment=36420#post-id-36420Well ok, sorry to the people who read this ...
you can save it where you want by myanime.save('/home/myusername/myfolder/myfilename')
My bad .... :( :| :8Wed, 01 Feb 2017 02:50:55 -0600http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?comment=36420#post-id-36420Comment by kcrisman for <p>Ok I know this is a stupid question. (But i spend already half an hour on it :( )
After using a.save('myanime') on a animate I can't find the gif file (which is the default extension AFAIK)
To be more specific:</p>
<p>I am using sage on a linux debian (sage recenlty returned to the debian archives !!:D!!)
so I launch sage in terminal (the binary is installed in my /usr/bin )
and the files seemes to be stored in stuff like </p>
<p>/home/myusername/.sage/sage_notebook.sagenb/home/__store__/2/21/212/2123/admin/9 ...
Is it right ?</p>
<p>In case yes it is painful to look for something outside fromethe sage notebook and I would like to integrate the .gif in another web pages. Maybe I can choose where to save the gif ?</p>
http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?comment=36419#post-id-36419We'll have to know more about how you are using Sage in this case - sage notebook, Sage Math Cloud, command line, etc. The default location really depends on this.Tue, 31 Jan 2017 16:14:59 -0600http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?comment=36419#post-id-36419Answer by John Palmieri for <p>Ok I know this is a stupid question. (But i spend already half an hour on it :( )
After using a.save('myanime') on a animate I can't find the gif file (which is the default extension AFAIK)
To be more specific:</p>
<p>I am using sage on a linux debian (sage recenlty returned to the debian archives !!:D!!)
so I launch sage in terminal (the binary is installed in my /usr/bin )
and the files seemes to be stored in stuff like </p>
<p>/home/myusername/.sage/sage_notebook.sagenb/home/__store__/2/21/212/2123/admin/9 ...
Is it right ?</p>
<p>In case yes it is painful to look for something outside fromethe sage notebook and I would like to integrate the .gif in another web pages. Maybe I can choose where to save the gif ?</p>
http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?answer=36423#post-id-36423If you execute `pwd` in Sage, it will print the working directory, which ought to be where files are saved by default (unless, as you point out, you give an explicit path -- probably the best solution).Wed, 01 Feb 2017 10:33:19 -0600http://ask.sagemath.org/question/36418/where-are-stored-gif-files-by-default/?answer=36423#post-id-36423