配置项 为了方便的图片的保存与展示,可以在 配置文件中,指明 图片资源的路径 1 import os 2 ? 3 ? 4 class Config(object): 5 DEBUG = True 6 SQLALCHEMY_DATABASE_URI = 'mysql://root:mysql@127. ...
分类:
其他好文 时间:
2021-06-15 18:16:21
阅读次数:
0
task 3 def square(size=50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) for i in range(10) ...
分类:
其他好文 时间:
2021-06-15 18:11:32
阅读次数:
0
<!DOCTYPE html> <html> <head> <title>table2xls</title> <meta charset="utf-8"> <style type="text/css"> body, table { font-size: 12px; } table { table-l ...
分类:
Web程序 时间:
2021-06-15 18:01:54
阅读次数:
0
nodejs端实现模块化的方式通常是通过commonjs,使用模块化可以复用js代码,使得逻辑结构更为清晰。 commonjs的语法规则如下通过 module.exports 或者 exports 导出,通过 require函数来导入 // a.js 导出内容 const name = 'alice ...
分类:
Web程序 时间:
2021-06-15 17:57:25
阅读次数:
0
《为什么数据库中要使用B+tree索引,而不用hash索引?MySQL中的B+tree索引介绍》 看完以上这篇文章,明白B+tree索引结构,对explain解析更有帮助。 ...
分类:
数据库 时间:
2021-06-15 17:54:06
阅读次数:
0
from turtle import * def square(size=50, rbg='blue'): pencolor(rbg) for i in range(4): fd(size) left(90) setup(800,600) speed(0) for i in range(10): s ...
分类:
其他好文 时间:
2021-06-15 17:36:49
阅读次数:
0
1、查询系统现在的硬盘数量。 [root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 20G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 19G 0 ...
分类:
其他好文 时间:
2021-06-13 10:40:34
阅读次数:
0
1. Units(单位) 配置大小单位,开头定义了一些基本的度量单位,只支持bytes,不支持bit 大小写不敏感 # Note on units: when memory size is needed, it is possible to specify # it in the usual for ...
分类:
其他好文 时间:
2021-06-13 10:22:30
阅读次数:
0
createWebHistory 生产环境下不带# const router = createRouter({ history: createWebHistory(), routes }); createWebHashHistory路由模式路径带#号 const router = createRou ...
分类:
其他好文 时间:
2021-06-13 10:21:54
阅读次数:
0
const myEchart = echarts.init(document.getElementById('main')) const options = { xAxis: { data: ['小明', '夏红', '君子', '闰土', '明', '红', '子', '土'], type: 'c ...
分类:
其他好文 时间:
2021-06-13 10:16:48
阅读次数:
0