Ask Your Question

Very strange error with html in sagenotebook

asked 2013-06-29 07:04:00 +0100

AndreWin gravatar image


I have function:

def my_table():
    s = """<table border=1>
    <tr><td>7</td><td>g</td><td>{6}</td></tr>""".format(0, 1, 2, 3, 4, 5, 6)

I create new worksheet in sage notebook, in 1st cell I paste this code. Then I press shift+enter. In 2nd cell I type:


and also press shift+enter. Then I press "save and quit". After I closed this worksheet I open it and see that there are 2 tables and cells don't work correctly. When I try evaluate 2nd cell, the sage can't perform calculation.

What do I wrong? Please help me. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-29 09:13:34 +0100

ndomes gravatar image

updated 2013-06-29 10:00:07 +0100



at the end of your html table ;-)

edit flag offensive delete link more


Ou! Sorry!) It's so! Fine! Thanks!)))

AndreWin gravatar imageAndreWin ( 2013-06-29 10:23:37 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-06-29 07:04:00 +0100

Seen: 219 times

Last updated: Jun 29 '13