Ask Your Question

Revision history [back]

Given a file.sage file containing Sage code, you can;

  • attach it with the %attach jupyer magic

    %attach file.sage
    
  • load is with the %load jupyer magic

    %load file.sage
    
  • if you are not using the jupyter notebook, with the load function:

    load('file.sage')