Ask Your Question

Revision history [back]

Sage manipulates strings as Python does, so in

def escargot(f,x,u0,n,xmin,xmax,filename):
    ...
    P.save('/home/myfolder/' + filename)

the strings '/home/myfolder/' and that in filename will be concatenated.

(more useful operations for instance here).