0

I have a python script named t.py inside this script code is:

a = 'Hello World'

Now I want to print this 'Hello World' at the webpage if I click the button by using django framework.

How can I do that?

vvvvv
  • 25,404
  • 19
  • 49
  • 81
tom
  • 35
  • 1
  • 6
  • Possible duplicate of [Execute a python script on button click](http://stackoverflow.com/questions/15151133/execute-a-python-script-on-button-click) – Troyer Apr 20 '17 at 09:19
  • I am guessing this can be done by editing views.py and url.py – tom Apr 27 '17 at 20:20
  • sorry @Troyer that is different question, my question is only concerned about django. – tom Apr 27 '17 at 20:22

0 Answers0