Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found the answer here: Question 8303. I renamed the file to trans.sage. Then the first lines in my file are

%load_ext sage
attach('trans.sage')

Interestingly renaming to nemis.sagews and attach('trans.sagews') does not work.

What I am loosing by this method is the possibility to write 'trans.function()' when referring to functions from the
'trans' worksheet.

I found the answer here: Question 8303. I renamed the file to trans.sage. Then the first lines in my file are

%load_ext sage
attach('trans.sage')

Interestingly renaming to nemis.sagews and attach('trans.sagews') does not work.

What I am loosing by this method is the possibility to write 'trans.function()' when referring to functions from the
'trans' worksheet.