Wednesday, 15 June 2011

html - CGI Module - Python -


I have found it, it allows me to use HTML tags inside a python script.

Here it shows how to use it, but it works when it is using it.

  import CGI print ("" " gt;  Hello  " "")  

And this is when the im script is running:

  & lt; Html & gt; & Lt; Body & gt; Hello & lt; / Body & gt; & Lt; / Html & gt;  

How can I use it properly?

Thank you.

gt; & lt; body > ">

Note that the CG module The type is not being used in any way; Just simple call module is useful for print () when you want to process the form data submitted by client through an HTML form.


No comments:

Post a Comment