Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple web framework
#2
I think for this, Flask is a good choice -
from flask import Flask, render_template

app = Flask(__file__)

@app.route('/')
def Home():
    return render_template('html_file.html')
After you create the html file this will open up a website (run locally) with everything from the html file. Another one I've heard is good is Django
Reply


Messages In This Thread
Simple web framework - by afn - Jun-21-2019, 10:08 PM
RE: Simple web framework - by SheeppOSU - Jun-22-2019, 02:38 AM
RE: Simple web framework - by afn - Jun-22-2019, 07:46 PM

Forum Jump:

User Panel Messages

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