embedding python in HTML

John Salerno johnjsal at NOSPAMgmail.com
Thu Feb 16 15:53:58 EST 2006


I'm hoping someone can give me the basics for how to do very simple 
things with Python scripts from within my HTML. For example, I know that 
I can do this in PHP:

<h1>Here is a header</h1>
<?php include("file.html"); ?>    // include some external html
<p>More html</p>

So to do this with Python, do I simply integrate it into the HTML as 
above, with no extra steps? Also, which symbols do I use to denote 
Python language?

Thanks.



More information about the Python-list mailing list