#! C:/Users/User/src/try_django/install/Scripts/python.exe
print ("Content-Type: text/html\n\n")
print("hello")
import cgi
from django.shortcuts import render
import request
def button(request):
return render(request,'clust.php')
def output(request):
data="hello world!"
print(data)
return render(request,'clust.php',{'data':data})
Я запускаю свой python в xampp. Тем не менее, я не могу отобразить данные печати на моей python странице, кроме «Привет». как отобразить функцию print () из моей страницы html?