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?

3
  • Possible duplicate of Execute a python script on button click Commented Apr 20, 2017 at 9:19
  • I am guessing this can be done by editing views.py and url.py Commented Apr 27, 2017 at 20:20
  • sorry @Troyer that is different question, my question is only concerned about django. Commented Apr 27, 2017 at 20:22

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.