5 Antworten
+ 1
plz elobrate the question, do u meam to embed in html or link via html or what
0
To embed in html?
0
Not possible. Python isn't like PHP; you can't just do this
<?php
However, if your web server has a Python interpreter you can write CGI scripts to make Python code run on your webpage.
like
By enclosing Python statements within a <% %> tag the Python interpreter will execute it.
if u have complex code where Python and HTML are mixed, embed it between the tags <indent> and </indent>
0
Got it, Thanks
0
you are welcome bro