The messiest aspect remaining in the _exec Python is the string handling. We can improve this by replacing concatenation with .format() or Template().