Good day !

A question in search of programs of the presentation of the Python codes by analogy with Matlab. Perhaps you need to look for the word "scientific".

MatLab in the presentation mode on the machine produces beautiful texts available for publication for the purpose of training, maintenance, application in other developments and understanding how everything works.

In MatLab there are comments, and there are double comments that go as a section name and are collected into a table of contents. If the values ​​and graphics are printed to the screen, they are presented in the presentation along with the code.

Modern requirements for tests assume the mode "Hide / Show", "+/-" to facilitate perception.

In Python, visual text came out only with screen capture. For example, the Compass window, on the left of the graph, on the right, two Python panels with information.

from PIL import ImageGrab import time def skr(nomm_): time.sleep (3) screen = ImageGrab.grab() im='d:\screenshot'+nomm_+'.png' screen.save(im,'PNG') skr ("Duga 30 10 25") 

You have to wait until the graphics appear on the screen, or stop before the capture, to correct the position of the graphics, select on the Python code panel what to display and press "F5"

MatLab presentation example

Python presentation sample

  • And the question is what? - Vladimir Martyanov
  • Question in the absence of a program for the presentation of Python programs by analogy with MatLab - Vitaly Lysanov
  • This is not a question, but a statement. - Vladimir Martyanov
  • @Vitaly, most likely what you need - ipython notebook: ipython.org/notebook.html - insolor
  • 2
    @VitalyLysanov: Thank you for your appreciation. When you have time, please read the help section: How to ask questions . He will help you in the future to ask more accurate and understandable questions. - Nick Volynkin

1 answer 1

As far as I understand you, you need ipython notebook

In essence, this is the same REPL, but editable, starting in the browser, and the output of the command may have, for example, the form of a matplotlib diagram, LaTeX formulas, etc. You can also insert headers and write notes in the form of Markdown.

Ready "laptop" can be exported in formats html, pdf, reST and just py.

What it looks like: ipython notebook

Under Windows, it is easiest to install by downloading and installing the Anaconda package: http://continuum.io/downloads

I personally put it under Windows manually, but it required some dancing with a tambourine.

Under Linux, manually installed absolutely no problem, for example, installation instructions for Ubuntu: http://koldunov.net/?p=696