Applications Google
Menu principal

Post a Comment On: Only Python

"Viewing embedded pictures within docstrings"

3 Comments -

1 – 3 of 3
Blogger Paddy3118 said...

Whilst interested in getting richer content via help(), I most definitely DON'T want to pay the price of having bit-strings in the source!
It is very ugly, and unmaintainable. How do you catch an inadvertent edit to the image?

I would much rather you support xhtml for this and either use img tags to external image files. SVG would be better than embedded bitmaps.

- Paddy.

3:15 AM

Anonymous Anonymous said...

Did you already had a look at the aafigure in the docutils sandbox ?

http://docutils.sourceforge.net/sandbox/aafigure

I used it for some projects documentations and it can be really usefull.

5:38 AM

Blogger André Roberge said...

Paddy: I agree that it is not pretty; but the idea is to be able to distribute only one module and have everything in it. As for inadvertent edit; one way to prevent it might be to compute some information about the string (crc?) and include it in the source as well - and recompute it every time an image is displayed (using this as a means to detect errors).

Oleastre: This looks interesting ... but I can't see the result as the page says that the aafigure directive is unknown.

7:15 AM

Spammers: none shall pass.
You can use some HTML tags, such as <b>, <i>, <a>

Comments on this blog are restricted to team members.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot