Python Templating - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Python Templating (1360 Views)
| Python Templating by PrinceNN(op): 8:22am On Jun 19, 2012 |
just asking, when writing python codes, what templating language makes life easier for you? or do u stick to same python for templating? |
| Re: Python Templating by Seun(mod): 12:53pm On Jun 19, 2012 |
We use our own little template framework, which is a safe, lightweight wrapper around Python's str.format function. It consists of less than 20 lines of code. If I had to use a third party templating library, I would use PyMustache's "logic-free templates". |
| Re: Python Templating by PrinceNN(op): 9:36pm On Jun 19, 2012 |
Seun: We use our own little template framework, which is a safe, lightweight wrapper around Python's str.format function. It consists of less than 20 lines of code. If I had to use a third party templating library, I would use PyMustache's "logic-free templates".nice...cool concept myself im geting used to jinja2 |
| Re: Python Templating by jeebz: 8:30pm On Jun 22, 2012 |
Jinja2 is quite good especially with Oga Seun's best python framework: CherryPy |
Python From Zero To Hero... Full Video • 10 Free Python Ebooks So That People Can Learn As They Make Apps • Exclusive Team Python Forum • 2 • 3 • 4
Submission Window Opens For Google Apps Developer Challenge , 24 Days Left • Reuse-based Software Development • 5 Simple Way To Perform Redirection In PHP