1 | initial version |
This is really easy, I'm pleased as punch that this actually works, I'd never tried it.
g(x)=x^2
. I put it in my home directory.load("~/foo.sage")
, or whatever is appropriate for where your script lives.This should work with .py files as well. It's conceivable that you'll need appropriate permissions, etc. If this isn't the question you're asking, please update your question.
2 | No.2 Revision |
This is really easy, I'm pleased as punch that this actually works, I'd never tried it.
g(x)=x^2
. I put it in my home directory.load("~/foo.sage")
, or whatever is appropriate for where your script lives.This should work with .py files as well. It's conceivable that you'll need appropriate permissions, etc. If this isn't the question you're asking, please update your question.
If you have custom data to use as well, the best thing to do is see if the DATA
variable will do what you need. This is documented in the "Help" link at the top of the notebook, and it should be pretty easy to upload an appropriate data file there as need be.