| 1 | initial version |
Here are at least 3 ways:
Run the code with sage -python filename.py
In the notebook, choose "python" in the dropdown list at the top.
In the notebook, put the code in a cell with a %python at the top of the cell.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.