How to make named items in SOAP web service response in Flask/Spyne Python?
问题 I have written a web server using Flask Enterprise library of python which is going to be a simulator of some web server application. I got the idea for first implementation from this project. import os import string import random from flaskext.enterprise import Enterprise from flask import Flask, render_template CUR_PATH = os.getcwd() # config Flask app = Flask(__name__, template_folder='../templates/') # config Flask Enterprise enterprise = Enterprise(app) String = enterprise._sp.String