Ask Your Question

Revision history [back]

Hi,

The easiest way is to define a Python function:

sage: def meh():
....:     load("meh.sage")
....:     
sage: meh()  # executes load("meh.sage")

Best wishes,

Eric.