How can I load python script into Html ??

PatPoul patpoul23 at
Tue Dec 13 23:02:40 CET 2005

I want to do the same thing as
<script language="javascript" src="xxx.js"></script>

but with a python script  :
<script language="Python" src=""></script>

if :
def mytest():
and test.html :
<SCRIPT Language="Python" src=""></SCRIPT>

<SCRIPT Language="Python">

I always got this error :
NameError : name 'mytest' is not defined

Thx ... 
Patrick Poulin

More information about the Python-list mailing list