Sep-18-2017, 03:16 PM
Sep-18-2017, 04:25 PM
(Sep-18-2017, 03:16 PM)dialbrocom Wrote: [ -> ]This below website built by php.but i want to change it to python.is it possible?That is possibly,not to much work site is pretty basic and using Bootstrap.
I would have done it Flask.
A quick demo how to start,a little tutorial here.
from flask import Flask, render_template, jsonify, request app = Flask(__name__) # The main page html and css load here @app.route('/') def index(): return render_template("index.html") # Push Dance button taken to a new route,the load html and css for this route. @app.route('/top-10-best-dance-classes-in-chennai', methods=['GET']) def dance(): return render_template("dance.html") @app.errorhandler(404) def page_not_found(e): return render_template('404.html'), 404 if __name__ == '__main__': app.run()
Sep-28-2017, 08:09 PM
Of coarse it's possible. Python can do anything php can do.
It looks like it doesn't change that much, so you could even use a static site generator so everything was just plain text files.
It looks like it doesn't change that much, so you could even use a static site generator so everything was just plain text files.