compatible numbers
使用flask中flask_script时,报错:ModuleNotFoundError: No module named 'flask._compat'的解决方法
方法1:降级版本 pip install "Flask==1.1.4"pip install "werkzeug==1.0.1" 方法2:不降级版本: 可以尝试修改一下flask_script/__init__.py中from ._compat import text_type 改成 from fl ......
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the ......
第七篇 基本包装类型-字符串类型 - String、Number、Boolean
基本包装类型 基本包装类型是 特殊的 引用类型 ECMAScript 提供了三种基本包装类型 Number String Boolean 每当读取一个基本类型值的时候,后台就会创建一个对应的基本包装类型的对象,从而可以调用属性、方法来进行后续操作 javascript 引擎后台创建了对应基本包装类型 ......
小程序input设置为type="number"聚焦时,会出现白屏的情况
在微信小程序开发过程中,input聚焦时会出现白屏的情况,如图: 经过测试发现当input设置为type="number"聚焦时,当微信数字键盘弹出来的时候就会白屏,有的手机会闪(一下整个白屏,一下能看见输入框) 可能出现的原因: 1.a页面使用了cover-view,然后跳转到b页面点击type= ......
Divisible Numbers
#include<iostream> #include<math.h> #include<string> #include<algorithm> using namespace std; typedef long long ll; const int N=1e5+10; int n; ll gcd( ......
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found
原因: VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found 出现的原因是你提供的视频连接可能没有扩展名导致,这样videojs无法知道视频的格式。 需要在type属性指定播放视频的格式 ......
Caused by: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
一、问题背景 在xml配置中自定义了sql语句 二、报错截图如下 三、我的项目配置如下 四、分析问题 五、问题原因 在xml中自定义sql语句时,里面不能有注释过得sql 六、解决方式 https://thinkingcao.blog.csdn.net/article/details/1038159 ......
220-You are user number 3 of 50 allowed.
File Transfer Protocol (FTP)ftp220 Welcome to Pure-FTPd [privsep] [TLS] 220-You are user number 3 of 50 allowed.220-Local time is now 22:12. Server po ......
RHEL 7.6安装oracle 19c 报:缺失compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
下载地址: http://www.rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm 安装: # yum install compat-libstdc++-3 ......
CF 1738C Even Number Addicts
题目地址 题意:有一个数组,Alice和Bob每次拿走其中的一个数,Alice先拿,问最后Alice拿的数的和是否为偶数 Solution 博弈论,这里的数据量不大,dp+记忆化搜索 dp[cnt1][cnt2][c][s]表示剩余cnt1个奇数和cnt2个偶数时,当前的操作人为c,Alice拿的数 ......
[LeetCode] 2348. Number of Zero-Filled Subarrays
Given an integer array nums, return the number of subarrays filled with 0. A subarray is a contiguous non-empty sequence of elements within an array. ......