경돌이 코드 - k_main.py
k_main.py 123456789101112131415161718192021# -*- coding: utf-8 -*- import osimport k_processfrom flask import Flask, request, jsonify app = Flask(__name__) @app.route('/keyboard')def Keyboard(): res = k_process.buttons() return jsonify(res) @app.route('/message', methods=['POST'])def Message(): data = request.get_json() return jsonify(k_process.response(data['content'])) if __name__ == "__main__..