Bottle with Gunicorn
问题 What is the difference between running bottle script like this from bottle import route, run @route('/') def index(): return 'Hello!' run(server='gunicorn', host='0.0.0.0', port=8080) with command python app.py and this from bottle import route, default_app @route('/') def index(): return 'Hello!' app = default_app() with command gunicorn app:app --bind='0.0.0.0:8080' 回答1: Essentially nothing. From the bottle source code for the GunicornServer here you can see that a basic application is