Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/misc/attach.py
4036 views
1
"""
2
Attach a file to a running instance of Sage.
3
"""
4
5
class Attach:
6
"""
7
Attach a file to a running instance of Sage.
8
"""
9
def __repr__(self):
10
return self.__doc__
11
12
def __call__(self, *args, **kwds):
13
raise RuntimeError, "Use 'attach filename' instead, where filename is a .py, .sage, or .spyx file."
14
15
attach = Attach()
16
17