Python Forum
Connecting python script into HTML with flask
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connecting python script into HTML with flask
#1
Hello,

I'm currently working on a project and I need some help with flask since I'm a bit new to flask I dont know how to connect my python script into html.

Say, I have input_data.html and input_data.py how do I connect them with flask? When user input the sentence and click the button, my script (input_data.py) will process the input and display the output on text area below.

[Image: unknown.png]

Any help or guidance would be appreciated.
Reply


Messages In This Thread
Connecting python script into HTML with flask - by Piqurs - Sep-05-2018, 09:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Flask - use bootstrap styles in HTML Krayna 1 1,086 Aug-29-2023, 02:33 PM
Last Post: menator01
  show csv file in flask template.html rr28rizal 8 34,862 Apr-12-2021, 09:24 AM
Last Post: adamabusamra
  HTML multi select HTML listbox with Flask/Python rfeyer 0 4,686 Mar-14-2021, 12:23 PM
Last Post: rfeyer
  gettin flask to call script periodically GrahamL 1 2,253 Jan-08-2021, 06:11 PM
Last Post: ndc85430
  API auto-refresh on HTML page using Flask toc 2 11,912 Dec-23-2020, 02:00 PM
Last Post: toc
  python 3.7 on windows using flask and flask-sqlalchemy. Alpy 2 4,027 Aug-12-2020, 07:24 PM
Last Post: Alpy
  Flask formatting into HTML engineer_geek 1 2,837 Aug-05-2020, 01:51 AM
Last Post: engineer_geek
  Python3 + BeautifulSoup4 + lxml (HTML -> CSV) - How to loop to next HTML/new CSV Row BrandonKastning 0 2,391 Mar-22-2020, 06:10 AM
Last Post: BrandonKastning
  [Flask] html error 405 SheeppOSU 0 2,374 Jun-08-2019, 04:42 PM
Last Post: SheeppOSU
  how i save the html form to flask database mebaysan 1 7,325 Feb-07-2019, 12:56 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020