I'd like to use this at my homepage in django project(python 3.7.2 and django 2.1.7 installed). Input file will be uploaded different way. I only want to know how to use/where to paste script like this. Thanks for help!
from csv import reader, writer
name = input("Please input your file's name.")
with open(name) as file:
csv_reader = reader(file)
search_input = input("Search by word?")
for search in csv_reader:
for rows in search:
if search_input == rows:
print(search)