1 | initial version |
You can do the following:
.sage
extension, say my_file.sage
[1, 2, 3]
you should give a name to your object, for example a=[1, 2, 3]
load('/path/to/my_file.sage')
, and you will be able to access the Python variable a
.2 | No.2 Revision |
You can do the following:
.sage
extension, say say my_file.sage
[1, 2, 3]
you should give a name to your object, for example a=[1, 2, 3]
load('/path/to/my_file.sage')
, and you will be able to access the Python variable a
.