python waitress serve prevent Serving on code example
Example: waitress serve
from flask import Flask
import waitress
app = Flask(__name__)
port = 5000 # This can be anything
# Lines of code for the web app
if __name__ = "__main__":
waitress.serve(app=app, port=port)