How can i implement python script on html or display python script result on browser?
I am working on a project in python in which i am converting pdf file to text and then extracting keywords from that so i need to display keyword result on browser where i can take pdf as input and display keywords
I tried using django but problem is that i am not able to take pdf as input but it is displaying output if taking text as input.
code:
from django.shortcuts import render
import requests
def button(request):
return render(request,'home.html')
def output(request):
data="hjhjdhj"
return render(request,'home.html',{'data':data})