kablondino
kablondino

Reputation: 25

SageMathCloud Load Python script with argument

I want to, inside a Sage worksheet, load a Python script that takes in a command line argument. So far, I have tried

    load("script.py") argument
    load("script.py" argument)
    run "script.py" argument
    etc....

I have also tried setting the cell to %run, %python, and %load, and none seem to be able to take in an argument in any form.

I know that I would be able to simply run it in a Jupyter notebook, but I'm looking for a way specifically inside a Sage worksheet.

Upvotes: 1

Views: 107

Answers (1)

kcrisman
kcrisman

Reputation: 4402

Apparently this is not (yet) implemented - see this issue.

Upvotes: 1

Related Questions