I am writing a science program that has some intermediate results (graphs and images) that I would like to write down (in addition to regular text messages).
I really like the python logging interface, so I wonder if it is possible to use it to create log files containing images.
The first thought that came to my mind was to create a log file as an SVG, so the log text can be read on a typewriter and the images can be easily included.
Is there a better way to make this possible?
source
share