creating website script in Myghty

2006-03-21 Thread piotr maliński
I'm learning Myghty from few weeks and now I'm making a simple forum script ;) and I have problem finding few things in python that I need: - how to strip all HTML tags leaving the text / strip all code (python/other) from a string? - how to highlight a python/html/other code (result in HTML

Re: creating website script in Myghty

2006-03-21 Thread Fredrik Lundh
piotr maliñski wrote: I'm learning Myghty from few weeks and now I'm making a simple forum script ;) and I have problem finding few things in python that I need: - how to strip all HTML tags leaving the text http://effbot.org/zone/re-sub.htm#strip-html might be helpful. strip all code