3 ms·
All too hard. Use "bottle" (I think it's much the same as flask) - you just call 'run' and it does it's thing. https://bottlepy.org/docs/dev/ https://bottlepy.
by RantyDave 9y ago
All too hard. Use "bottle" (I think it's much the same as flask) - you just call 'run' and it does it's thing.
https://bottlepy.org/docs/dev/ https://bottlepy.org/docs/dev/
- GlennS 9y agoI think that's more intended as demo server to get you started quickly while you're developing. You'll probably want to switch to uwsgi or gunicorn before you actually deploy anything. I haven't actually used Bottle, but with Flask the development web server seems to fall over if a client cancels ones of its HTTP requests, for example. It's really just a simple, light thing for mucking around with.