Hey Joal,

I don't know of a more direct way, but this works:

Just upload the file to the worksheet (under the Data menu, beside the
Action menu), and then copy the file from the DATA directory to the cell
directory. To do so, put this in a cell:

import shutil
shutil.copy(DATA + 'myfilename.ext', '.')

On Mon, Apr 12, 2010 at 7:00 PM, ancienthart <joalheag...@gmail.com> wrote:

> Hi again fellow sages,
>
> I have been attempting to put an image from my hard disk into the sage
> notebook.
> I was working on some angle problems, and made a diagram of the
> problem (Using geogebra). Then I wanted to put the image into a sage
> notebook, so that I could refer back to it.
> Is there an easy way to do this?
> (I attempted to use the insert button in the text cell editor, but a
> file:///home/excetera.png url didn't work.)
>
> Thank you for your help,
>
> Joal Heagney
>
> --
> 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<sage-devel%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>
> To unsubscribe, reply using "remove me" as the subject.
>



-- 
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com

-- 
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