0
import sys
variable=sys.argv[1]
#print variable

"""<html>
<body>
    <p>Here is my variable: {{variable}} </p>
</body>"""

Question: Question: Hi , I am trying to get python variable inside HTML code . below is sample code .

File : test.py  Hell

I want output just Hello on screen . Please give any advice . 

Thanks  and Regards ,
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.