Ticket #3844 (new enhancement)

Opened 5 months ago

Last modified 5 months ago

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

Reported by: was Assigned to: boothby
Priority: major Milestone: sage-3.4
Component: notebook Keywords:
Cc:

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 on 08/13/2008 08:07:41 PM.

Change History

08/13/2008 08:07:41 PM changed by was

  • attachment sage-3844.patch added.

08/13/2008 08:07:50 PM changed 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.

08/13/2008 09:43:09 PM changed 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.