ANN: Python training "text movies"

Franck Ditter nobody at nowhere.org
Mon Jan 21 06:30:50 EST 2013


In article <mailman.731.1358757093.2939.python-list at python.org>,
 Mitya Sirenef <msirenef at lightbird.net> wrote:

>  > - To use the software outside Python, we need to have proper indentation
>  > as real spaces. We should be able to distinguish Arial type for usual
>  > text and fixed font for code.
> 
> 
> Not sure I understand about indentation.. You mean like wrapping
> everything in a textarea tag? Right now everything is in div,
> which leads to all spaces being compressed in html when viewed.

SOme spaces are translated in  , others in actual spaces.
Say for Scheme, if I write this in foo.txt :

> (define z (* 3+2i 1+i))                   ; notation a+bi
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

I get this in foo.html (spaces missing) :

> (define z (* 3+2i 1+i))                 ; notation a+bi 
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz 

   franck



More information about the Python-list mailing list