# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1210486751 25200
# Node ID b457320c962f891261a575d3497de1bb6a417b1f
# Parent 5886085a5d53cf2d385a2b7418b0490c9c35aaee
trac #1892: notebook -- uploading a data file should give some help about the DATA variable
diff -r 5886085a5d53 -r b457320c962f sage/server/notebook/notebook.py
a
|
b
|
class Notebook(SageObject): |
1565 | 1565 | body += ' or create a linked copy to the worksheet %s,'%ws_form |
1566 | 1566 | body += ' or <a href="/home/%s/datafile?name=%s&action=delete">delete %s.</a>'%(ws.filename(),filename, filename) |
1567 | 1567 | |
| 1568 | body += "<br><br>Access %s in this worksheet by typing <tt>DATA+'%s'</tt>. Here DATA is a special variable that gives the exact path to all data files uploaded to this worksheet.<br><br>"%(filename, filename) |
1568 | 1569 | |
1569 | 1570 | body += '<hr class="usercontrol">' |
1570 | 1571 | ext = os.path.splitext(filename)[1].lower() |