create desktop application by using Flask and QtWebKit
Rather than open Flask app in user browser, create a QWebview and then run Flask app on it.
I'm new to python and I'm going to improve my python knowledge. I was looking for new way to create desktop applications. Create this project for learning purpose. Maybe/surely my codes need to more improvements.
add your routes in routes.py
ex:
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
then run your desktop app
> python pyfladesk.py
I wrote a sample Rss reader app by PyFladesk. you can find here.
it works fine in Windows 7 but I didn't test it in Linux or OSx. if you did it please let me know about it.
FEEL FREE TO TELL ME IF YOU SEE ANY MISTAKE OR NOTABLE THINGS BY OPENING A NEW ISSUE OR SENDING PULL REQUEST
Thanks to Mathias Ettinger for his review