[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-14 Thread ancienthart
Thanks guys. I eventually did the following combination of my first attempt and your suggestions. Upload the image file as people suggested using the data menu. And then I inserted the image in a text entry box, using the "Insert/ edit image" button, and using just the file name for the URL. The

[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-12 Thread Alec Mihailovs
On Apr 12, 4:49 pm, William Stein wrote: > On Monday, April 12, 2010, Alec Mihailovs  wrote: > > > from shutil import copy > > copy('/home/excetera.png', '.') > > Using DATA explicitly and shutil is not necessary.  Just upload the > file foo.png as you say, then use it in the  tag directly and it

[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-12 Thread Alec Mihailovs
On Apr 12, 8:43 am, Tim Joseph Dumol wrote: > > import shutil > shutil.copy(DATA + 'myfilename.ext', '.') That could be done similarly without using DATA - as from shutil import copy copy('/home/excetera.png', '.') Alec -- To post to this group, send an email to sage-devel@googlegroups.com To