import turtle from random import * from math import * turtle.seth(90) def tree(n,l): turtle.down() turtle.pencolor('#410200') turtle.pensize(n*3) turt ...
分类:
其他好文 时间:
2021-06-08 23:16:21
阅读次数:
0
before_request、after_requestfrom flask import Flask,render_template,redirect app = Flask(__name__) """ before_reuqest = [xxxxxxxxxx1,xxxxxxxxxx2] """ ...
分类:
其他好文 时间:
2021-06-08 23:12:09
阅读次数:
0
1.额外标签法(隔墙法);2.父元素添加overflow属性;3.父元素添加after伪元素;4.父元素添加双伪元素。 ...
分类:
Web程序 时间:
2021-06-08 23:05:44
阅读次数:
0
soup = BeautifulSoup(html,"html.parser")# -- coding: utf-8 -- """ Created on Tue Jun 8 09:55:53 2021 @author: Administrator """ from bs4 import Beauti ...
分类:
编程语言 时间:
2021-06-08 23:05:26
阅读次数:
0
效果: public class Rootobject { public Node[] nodes { get; set; } public Link[] links { get; set; } public Category[] categories { get; set; } } /// <su ...
我非常惭愧, 学计算机也好几年了, 居然现在还不会写快排, 可见我水平有多低下(而且现在我也就刚学会递归版, 不会迭代版). 而且我感觉这个非常容易写错. 所以我估计这篇文章我可能会不断更新. import random def quicksort(a,lo,hi): if(lo==hi): ret ...
分类:
编程语言 时间:
2021-06-08 22:52:01
阅读次数:
0
PermissionError: [Errno 13] Permission denied:字段里不能有空格 执行文件 from docxtpl import DocxTemplatefrom datetime import datetimeimport timeimport datetimeimp ...
分类:
其他好文 时间:
2021-06-08 22:49:54
阅读次数:
0
对函数部分或全部参数进行类型检查 构建一个装饰器,通过对装饰器中传入类型参数,来对装饰的函数的对应参数进行类型检查。 from inspect import signaturefrom functools import wraps?def typeassert(*tyargs,**tykwargs) ...
分类:
其他好文 时间:
2021-06-08 22:38:44
阅读次数:
0
说起大数据,很多人都能聊上一会,但要是问大数据核心技术有哪些,估计很多人就说不上一二来了。 从机器学习到数据可视化,大数据发展至今已经拥有了一套相当成熟的技术树,不同的技术层面有着不同的技术架构,而且每年还会涌现出新的技术名词。面对如此庞杂的技术架构,很多第一次接触大数据的小白几乎都是望而生畏的。 ...
分类:
其他好文 时间:
2021-06-08 22:37:38
阅读次数:
0
#### Install npm install vue3-lazy -S #### 引入 main.js demo: import { createApp } from 'vue' import App from './app' import lazyPlugin from 'vue3-lazy' ...
分类:
其他好文 时间:
2021-06-08 22:33:56
阅读次数:
0