0

I have written a Python3 script that takes some kind of table (excel, sql, csv, etc.) as input.

I want to make a web app that creates the database table given some user input, and then sends it to my code (The web app itself won't be in Python). The Python script uses pandas to parse the database created by the user, and then return some output back to the web app. The system might look like this:

Web App (html/css/js) -> database table -> Python Script -> Web App

Are there any modules in python that would be most suitable for this situation? I wasn't sure if Flask was applicable in this scenario, and didn't want to invest the time in learning a whole new module to me if there is an easier way to link the script to the web app.

SignalProcessed
  • 271
  • 3
  • 15

1 Answers1

0

This question has some good answers about connecting html with python however you might need a framework like Django, Flask, or Pyramid to interact with the DB but if you don't want to invest time in learning such tools here is a neat article. Hope it helps

Note:

Django is a more robust framework

Flaks and Pyramid are a bit more lightweight