摘要: from flask import Flask from flask_cors import CORS, cross_origin app = Flask(__name__) CORS(app) @app.route("/") def helloWorld(): return "Hello, cross-origin-world!" from functools import wra... 阅读全文
posted @ 2017-02-10 22:35 webbky 阅读(309) 评论(0) 推荐(0) 编辑
摘要: ltime = time.localtime(todayStamp) timeStr = time.strftime("%Y-%m-%d", ltime) # print datetime.datetime.fromtimestamp(todayStamp) http://www.wklken.me/posts/2015/03/03/python-base-datetime.ht... 阅读全文
posted @ 2017-02-10 14:49 webbky 阅读(200) 评论(0) 推荐(0) 编辑