Re: python html rendering

2006-10-04 Thread Paul Boddie
Pierre Imbaud wrote: > Hi, Im looking for a way to display some python code > in html: with correct indentation, possibly syntax hiliting, dealing > correctly with multi-line comment, and... generating valid html code if > the python code itself deals with html (hence manipulates tag litterals. > T

Re: python html rendering

2006-10-04 Thread Duncan Booth
"GHUM" <[EMAIL PROTECTED]> wrote: >> Hi, Im looking for a way to display some python code >> in html: with correct indentation, possibly syntax hiliting, dealing >> correctly with multi-line comment, > > > the usual way is to create your own web-framework > Or you could use an existing web frame

Re: python html rendering

2006-10-04 Thread Gerard Flanagan
Fredrik Lundh wrote: > Pierre Imbaud wrote: > > > I rather thought of some module built on python parser, generating html > > or xml, ideally customizable. > > see "colorizer.py" and "element_colorizer.py" in this directory: > > http://svn.effbot.python-hosting.com/stuff/sandbox/pythondoc >

Re: python html rendering

2006-10-04 Thread GHUM
Pierre, > Hi, Im looking for a way to display some python code > in html: with correct indentation, possibly syntax hiliting, dealing > correctly with multi-line comment, the usual way is to create your own web-framework If it is just "some" Python code and you have to do it "once", just look

Re: python html rendering

2006-10-03 Thread Fredrik Lundh
Pierre Imbaud wrote: > I rather thought of some module built on python parser, generating html > or xml, ideally customizable. see "colorizer.py" and "element_colorizer.py" in this directory: http://svn.effbot.python-hosting.com/stuff/sandbox/pythondoc -- http://mail.python.org/mailman

Re: python html rendering

2006-10-03 Thread Mark Peters
> Hi, Im looking for a way to display some python code > in html: with correct indentation, possibly syntax hiliting, dealing > correctly with multi-line comment, and... generating valid html code if > the python code itself deals with html (hence manipulates tag litterals. > Thanks for your help!

Re: python html rendering

2006-10-03 Thread Pierre Imbaud
Colin J. Williams wrote: > Josh Bloom wrote: > >>Hey Pierre, >> >>I'm using this plug-in for wordpress to display Python code. >>http://blog.igeek.info/wp-plugins/igsyntax-hiliter/ >>It works pretty well and can display a lot of other languages as well. >> >>-Josh >> >> >>On 10/3/06, *Pierre Imb

Re: python html rendering

2006-10-03 Thread Pierre Imbaud
hanumizzle wrote: > On 10/3/06, Colin J. Williams <[EMAIL PROTECTED]> wrote: > > >>Another approach is to use PyScripter (an editor and IDE). One can >>generate documentation and then save the generated html doc. >> >>Also PyDoc can be used directly. > > > And if you want to go the traditional

Re: python html rendering

2006-10-03 Thread hanumizzle
On 10/3/06, Colin J. Williams <[EMAIL PROTECTED]> wrote: > Another approach is to use PyScripter (an editor and IDE). One can > generate documentation and then save the generated html doc. > > Also PyDoc can be used directly. And if you want to go the traditional way, Emacs and Vim can both be us

Re: python html rendering

2006-10-03 Thread Colin J. Williams
Josh Bloom wrote: > Hey Pierre, > > I'm using this plug-in for wordpress to display Python code. > http://blog.igeek.info/wp-plugins/igsyntax-hiliter/ > It works pretty well and can display a lot of other languages as well. > > -Josh > > > On 10/3/06, *Pierre Imbaud* <[EMAIL PROTECTED]

Re: python html rendering

2006-10-03 Thread Josh Bloom
Hey Pierre,I'm using this plug-in for wordpress to display Python code. http://blog.igeek.info/wp-plugins/igsyntax-hiliter/It works pretty well and can display a lot of other languages as well. -JoshOn 10/3/06, Pierre Imbaud <[EMAIL PROTECTED]> wrote: Hi, Im looking for a way to display some pytho