1 from time import sleep 2 import random,pyperclip,os 3 import pyautogui 4 from openpyxl import load_workbook 5 import datetime 6 import tkinter as tk ...
分类:
微信 时间:
2020-07-24 15:58:58
阅读次数:
135
1010.Lead of Wisdom 暴搜。。。我去除了比某一同类装备4个属性都低的装备 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register i ...
分类:
其他好文 时间:
2020-07-23 23:22:33
阅读次数:
184
即Spring+SpringMVC+MyBatis 步骤 导包(引入依赖) 2.配置web.xml 文件 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.su ...
分类:
其他好文 时间:
2020-07-23 23:11:39
阅读次数:
74
provide/inject是Vue.js2.2.0版本后新增的API: provide:Object | () => Object//一个对象或返回一个对象的函数。该对象包含可注入其子孙的属性。 inject:Array<string> | { [key: string]: string | Sy ...
分类:
其他好文 时间:
2020-07-23 23:05:12
阅读次数:
68
from flask import Flask app = Flask(__name__) # 一共有5中配置的方式,但是常用的也就两种 # 当应用比较大时,可以将配置放在一个类中,整体来维护 # 当应用比较小时,可以直接使用app.secret_key这种方式来赋值 # 注意:from_objec ...
分类:
其他好文 时间:
2020-07-23 22:51:40
阅读次数:
81
前提:代理选“德国”,稳定一点 ~ 1. 将Colab与Good Drive关联起来 from google.colab import drive drive.mount('/content/drive') 2.定位到Drive的根目录,并查看根目录下的文件 import os os.chdir(" ...
分类:
其他好文 时间:
2020-07-23 22:49:20
阅读次数:
97
问题:使用windos客户端RedisDestopManger可以连接,证明服务器连接正常,项目配置出现问题分析:原因在application.properties文件中最后多了一个空格总结:配置properties文件时要注意空格引起redis无法连接
分类:
其他好文 时间:
2020-07-23 22:47:46
阅读次数:
65
记住这个 resize()方法 from PIL import Image img=Image.open("test.png") x,y=img.size print(x,y) k=5 x=int(x*k) y=int(y*k) newimg=img.resize((x,y),Image.ANTIA ...
分类:
其他好文 时间:
2020-07-23 22:37:20
阅读次数:
83
在Flutter编程中,会经常用到".."的语法糖,如下 state.clone() ..splashImg = action.img ..famousSentence = action.famousSentence; 其实以上代码等同于 state.clone() state.splashImg ...
分类:
其他好文 时间:
2020-07-23 22:30:25
阅读次数:
171
pip安装 pip install pytest-html 编写脚本 import pytest class TestClass(object): def test_one(self): x = "this" assert 'h' in x def test_two(self): x = "hell ...
分类:
其他好文 时间:
2020-07-23 16:50:29
阅读次数:
121