|
Size: 912
Comment: refresh
|
← Revision 3 as of 2022-04-06 02:22:15 ⇥
Size: 916
Comment: link to IDE
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| In order to use [[https://github.com/spyder-ide | Spyder]] for writing Sage scripts you have to use the version of Python which comes with Sage within the IDE. To change it apply the following steps: | In order to use [[https://github.com/spyder-ide | Spyder]] for writing Sage scripts you have to use the version of Python which comes with Sage within the [[IDE]]. To change it apply the following steps: |
In order to use Spyder for writing Sage scripts you have to use the version of Python which comes with Sage within the IDE. To change it apply the following steps:
In Tools -> Preferences go to Console -> Advanced settings -> Python executable
choose SAGE_ROOT/local/bin/python as the interpreter
go to Run -> Configure (F6)
choose Console -> Execute in a new dedicated Python console
optional: check Interact with the Python console after execution (convenient for debugging)
Now you can run your scripts with Run (F5) in Spyder's built-in console.
Tested with Spyder 2.3.8 and Sage 7.1.
Open Issues
- only works if the extension is .py
- no integration of the Sage class/function documentation
