Sorry, this content is no longer available
answered 12 years ago
Here are at least 3 ways:
Run the code with sage -python filename.py
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.
%python