Single post
jump to replieswork was fun today, learned how to do templating in python cuz for some reason I'd never done it before.
5 replies
back to top@neeko what's that i have also never done it before
@maaby the templating that comes with python is wildly shitty LMAO but generally it's like a simpler scripting lang kinda? hard to explain but it's mainly for simple string stuff so that you don't have to have a huge catch case/if else block to change the string slightly & can do it all kinda "in the string"
@neeko @maaby think it tends to be more centered around mixing in with html and having a more restricted featureset so if you use templates made by a third party you don't have to worry about it wiping your drive or other Nefarious Activities, if its the kind of templating im thinking of idk what the python snake language does
@flash @neeko it does seem to be something regarding formatting of data, primarily in HTML but also static site generators and java apparently, not something i'd ever need to look at personally https://wiki.python.org/moin/Templating
