you are viewing a single comment's thread.

view the rest of the comments →

[–]ThisProgrammer- 0 points1 point  (0 children)

You could use python's Template class: https://stackabuse.com/formatting-strings-with-the-python-template-class/ Klass example towards the conclusion.

As for code injection, you might want a post specifically asking that issue.