Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python x Html5
#2
Can do it trough webbrowser module.
It's just for display and not flexible as a web-framework.

Example a light weight Flask
Look at this post,for a simple setup.
render_template("index.html") get renderd in browser bye Jinja.

This is the simplest way,CGI is dead and using WSGI directly is a lot more work.
WSGI was very important for Python,and all Python web-framework is now build on top of it.
Reply


Messages In This Thread
Python x Html5 - by JohnnyCoffee - Sep-29-2019, 01:44 PM
RE: Python x Html5 - by snippsat - Sep-29-2019, 02:46 PM
RE: Python x Html5 - by JohnnyCoffee - Sep-30-2019, 07:07 PM
RE: Python x Html5 - by snippsat - Sep-30-2019, 08:39 PM
RE: Python x Html5 - by JohnnyCoffee - Oct-02-2019, 11:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  BeautifulSoup : how to have a html5 attribut searched for in a regular expression ? arbiel 2 2,638 May-09-2020, 03:05 PM
Last Post: arbiel

Forum Jump:

User Panel Messages

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