Evaluate sage py

asked 2019-04-03 16:18:45 +0100

Hi-Angel gravatar image

It seems like basic question, but I already spent about 2 hours, tried jupyter, command line, different combinations, different commands, lots of stuff…

Basically, I have file test.py with one line of content, taken straight from docs:

plot(graphs.HeawoodGraph())

I want to evaluate it in a browser.

What I don't want:

  • to open some external app for PNG files because in future I gonna need interactivity
  • to open the file in some text editor inside a browser because I already have it opened in Emacs
  • to get errors about graphs being undefined because when I execute in sage terminal, it's all correctly defined.
edit retag flag offensive close merge delete