Creating dynamic HTML through Python scripts. Is it possible?

Has anybody has any success creating HTML strings through Python scripts and then declaring them as $variable? I tried to assign an HTML string to a variable but continue to get an error.

If its not possible I was wondering how others have gone about dynamically generating HTML in problems (or if its even possible).

1 Like