On Monday, April 12, 2010, Alec Mihailovs wrote: > 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
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 should just work. > > -- > 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 > > To unsubscribe, reply using "remove me" as the subject. > -- William Stein Associate 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