Answers for "debug=true in socketio.run"

0

debug=true in socketio.run

app = Flask(__name__)
app.debug = True
app.config.from_object(settings)



if __name__ == "__main__":
    monkey.patch_all()
    listen_address = '0.0.0.0'
    listen_port = 5000
    print 'Starting Server on: http://{0}:{1}'.format(listen_address, listen_port)
    SocketIOServer((listen_address, listen_port), app, resource="socket.io").serve_forever()
Posted by: Guest on February-10-2021

Browse Popular Code Answers by Language