
每日一记
普通网友
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
如何将npm访问路径改成淘宝镜像
进入npm安装文件夹,寻找这个文件 使用记事本打开,然后加上registry这行,并指定路径为淘宝镜像路径即可。原创 2020-08-27 15:08:16 · 612 阅读 · 0 评论 -
String容器C++
// 创建String #include<string> string str; string str2 = "abc"; str = str2; string str3(6, "a"); // str3="aaaaaa" string str4 = "abcde" string str5; str5.assgin(str4, 3); // str5 = "abc" string str6; str6.assgin(str4, 2, 3) // str6 = "cde" .原创 2020-05-18 08:08:36 · 156 阅读 · 0 评论 -
C语言中关于const int和int const,const int *和int const *,int *const的理解
原文连接:https://blog.youkuaiyun.com/qq_33575901/article/details/98659122转载 2020-05-17 16:18:04 · 379 阅读 · 0 评论 -
selenium中的切换页面
selenium中的切换页面: 有时候窗口中有很多子tab页面。这时候肯定是需要进行切换的。selenium提供了一个叫做switch_to_window来进行切换,具体切换到哪个页面,可以从driver.window_handles中找到。示例代码如下: # 打开一个新的页面 self.driver.execute_script("window.open('"+url+"')") # 切换...原创 2020-03-27 16:54:46 · 367 阅读 · 0 评论 -
使用matplotlib绘制直方图
使用matplotlib绘制直方图 from matplotlib import pyplot as plt x = range(2, 26, 2) y = [15, 13, 14, 5 ,17, 20 ,25, 26, 26, 24, 22, 18, 15] plt.plot(x,y) plt.show() 然后系统报错说x和y 不在一个维度,是因为y列表多了一个值, 去掉即可 生...原创 2020-03-27 06:49:58 · 282 阅读 · 0 评论 -
2019/11/21
2019/11/21八皇后redis的数据结构 今天学了算法(八皇后\回溯法), redis的新的数据结构 八皇后 int max=8; int[] array=new int[max]; /* * check函数放置皇后 * */ public void check(int t){ if(t==max){ print(); return; } for(int i=0;i&...原创 2019-11-21 22:10:46 · 112 阅读 · 0 评论