Ng Wai Foong
1 min readJul 9, 2020

--

Hi,

May I know which part do you think is inadequate? Waitress module helps to serve your Python application as production server instead of a development server. If you are using Flask, you only need to add the following import

from waitress import serve

and modify the app.run into

serve(app, host='0.0.0.0', port=5000)

--

--

Ng Wai Foong
Ng Wai Foong

Written by Ng Wai Foong

Senior AI Engineer@Yoozoo | Content Writer #NLP #datascience #programming #machinelearning | Linkedin: https://www.linkedin.com/in/wai-foong-ng-694619185/

No responses yet