Import Functions defined in files
How to load a file with - functions? Is there any documentation on this?
What happens if there are some variables also defined in this file.
How to load a file with - functions? Is there any documentation on this?
What happens if there are some variables also defined in this file.
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')
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2019-01-21 14:55:12 +0100
Seen: 516 times
Last updated: Jan 21 '19