摘要:
readFile在外面,修改文件要重启服务才能更新 var fs = require('fs') var jsonDate = ''; fs.readFile('book.json',function(error,data){ // console.log(data.toString()) json 阅读全文
摘要:
# pip install web.py import web urls = ( '/(.*)', 'hello' ) app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name 阅读全文
摘要:
from flask import Flask import pandas as pd app = Flask(__name__) @app.route('/') def show_excel(): df = pd.read_excel("./学生信息表.xlsx") table_html = df 阅读全文