Ticket #3844 (new enhancement)

Opened 11 months ago

Last modified 11 months ago

[with patch; needs work] notebook -- worksheet should call sys.path.append(DATA) when being initalized

Reported by: was Owned by: boothby
Priority: major Milestone: sage-4.1
Component: notebook Keywords:
Cc: Reviewer(s):
Author(s): Merged in:

Description

If we do the above then one can upload/attach a .py file and import it in the worksheet, which is really sweet.

Attachments

sage-3844.patch (4.7 KB) - added by was 11 months ago.

Change History

Changed 11 months ago by was

Changed 11 months ago by was

  • summary changed from notebook -- worksheet should call sys.path.append(DATA) when being initalized to [with patch; needs review] notebook -- worksheet should call sys.path.append(DATA) when being initalized

Changed 11 months ago by TimothyClemans

  • summary changed from [with patch; needs review] notebook -- worksheet should call sys.path.append(DATA) when being initalized to [with patch; needs work] notebook -- worksheet should call sys.path.append(DATA) when being initalized

When I attached hi.py, "import hi" didn't work. Also on http://sage.math.washington.edu:8999/home/admin/3/datafile?name=hi.py, there is no mention of this new functionality.

Note: See TracTickets for help on using tickets.