一、 from flask import Flask,Response,request app=Flask(__name__,static_folder='static') @app.route('/') def index(): return 'var a="hellow"' @app.route ...
分类:
其他好文 时间:
2019-01-13 13:39:46
阅读次数:
201
第一题:题目打印:java写法:publicstaticvoidshowTree(intlevel,FileparentFolderPath){if(parentFolderPath.isDirectory()){File[]childFiles=parentFolderPath.listFiles();for(Filefile:childFiles){showNameByLevel(level)
分类:
其他好文 时间:
2019-01-12 21:42:30
阅读次数:
167
eclipse导入maven项目后,资源文件位置显示不正确,如下图所示 解决方法: 在resources上右键Build Path,选择Use as Source Folder即可正确显示资源文件 ...
分类:
系统相关 时间:
2019-01-10 16:31:04
阅读次数:
225
3.创建静态web工程 打开eclipse,选择file,new project 或者 new other...,选择web项中的static web project ,next。 输入你的项目名,如Html5Demo。填写content folder名称,如myHtml5。finish 右键con ...
分类:
系统相关 时间:
2019-01-08 16:33:41
阅读次数:
216
实现效果: 知识运用: DirectoryInfo类的Create方法 string对象的EndsWith方法 实现代码: ...
分类:
其他好文 时间:
2019-01-08 00:16:58
阅读次数:
153
# 文件上传与邮件发送 ### 原生实现 - 模板文件 ```html ``` - 视图函数 ```python import os # 配置上传文件保存目录 app.config['UPLOADED_FOLDER'] = os.path.join(os.getcwd(), 'static/uplo... ...
分类:
Web程序 时间:
2019-01-04 19:40:52
阅读次数:
289
In-Place Hold and Litigation Hold 是用来保留和管理邮件的一种设置。区别: ? 本质:recovery folder mail 删除后到purge文件夹,启用了Litigation Hold后会锁住purge,正常情况下,purge会一段时间后自动删除。 ...
分类:
其他好文 时间:
2019-01-03 12:57:15
阅读次数:
215
- 只依赖python - 依赖torch - 依赖torch ...
分类:
其他好文 时间:
2019-01-01 20:59:37
阅读次数:
720
First u must download wqy microhei.ttc font online () After save this Regedit file on pc () Font file copy to wine folder under C: drive folder, under ...
Installshield软件提供创建快捷方式的功能,但是经常有朋友发现创建了以后快捷方式不能运行,在此列一下几种常见原因供各位朋友参考: 1. 没有选择相应的working directory,这种问题对exe文件不大,对别的格式的文件影响较大,有些文件启动时会寻找工作目录,如果这个选项没有选对, ...
分类:
其他好文 时间:
2018-12-27 18:50:23
阅读次数:
186