Simple HTML template engine?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jean-michel bain-cornu

    #16
    Re: Simple HTML template engine?

    These days there seems to be more coverage of different needs. For
    instance, Mako looks like something I might have used if it had been
    around back then.
    >
    It's probably the same to me.
    And many times, the simple python templating system %(var)s is good
    enough...

    Comment

    • Jack

      #17
      Re: Simple HTML template engine?

      This one is really small and simple (one small file):



      "allen.fowl er" <allen.fowler@y ahoo.comwrote in message
      news:1192419411 .895715.138450@ e9g2000prf.goog legroups.com...
      Hello,
      >
      Can anyone recommend a simple python template engine for generating
      HTML that relies only on the Pyhon Core modules?
      >
      No need for caching, template compilation, etc.
      >
      Speed is not a major issue.
      >
      I just need looping and conditionals. Template inheritance would be a
      bonus.
      >
      I've seen Genshi and Cheetah, but they seem way too complex.
      >
      Any ideas?
      >
      I'm sure I could build something myself, but I'm sure this has already
      been done quite a few times. Why re-invent the wheel, right?
      >
      >
      Thank you,
      Allen
      >

      Comment

      • Adrian Cherry

        #18
        Re: Simple HTML template engine?

        Bruno Desthuilliers <bdesth.quelque chose@free.quel quepart.fr>
        wrote in news:47150ce8$0 $26767$426a74cc @news.free.fr:
        >
        Did you read the OP's question ?-)
        Yup, as much as anyone else has. Why?

        Adrian

        Comment

        Working...