Syntax Coloring
Salvatore
artyprog at wanadoo.fr
Sat May 3 16:49:35 EDT 2003
Glyn Millington wrote:
> Well, I typed py2html into Google and got this.......
>
> http://www.norvig.com/python/py2html.html
>
> 8<------8<------8<------8<------8<------8<------8<------8<------8<------
>
> #!/usr/local/bin/python
> """Pretty-print Python code to colorized, hyperlinked html.
> In python, do:
> py2html.convert_files(['file1.py', 'file2.py', ...])
> From the shell, do:
> python py2html.py *.py"""
>
> 8<------8<------8<------8<------8<------8<------8<------8<------8<------
>
>
> any use?
Thanks very much Glyn, same problem it uses the '<pre>' tag.
Regards
Salvatore
More information about the Python-list
mailing list