Sharedsupport / 2015-11-02-170011-line-numbers-git-issue-223.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
Description: Examples for support purposes.

Line numbers examples

%python
a = 5
a / 0
b = 7

Error in lines 2-2 Traceback (most recent call last): File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> ZeroDivisionError: integer division or modulo by zero