# 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.

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.

add a comment

1

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')`

Asked: **
2019-01-21 07:55:12 -0500
**

Seen: **99 times**

Last updated: **Jan 21 '19**

defining function for graph (help needed)

List of variables as function arguments [closed]

Create multivariate function of a list of variables

Can sage compute the inverse of a function?

Passing Sage functions to Singular

Declare variable as function output [closed]

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.