2 ms·
I can appreciate not wanting to stray outside the python standard library, but this would be more appealing with a proper template engine.
by posnet 9y ago
I can appreciate not wanting to stray outside the python standard library, but this would be more appealing with a proper template engine.
- shadedtriangle 9y agoI think long term you're right but at the moment str.replace() solves the problems I've encountered. That's the way I tend to develop things. Do the simple stuff simply and then expand out from there if needed. Same reason config and article headers are just plain text lines and not something else like JSON.