1.发现conda不能用 参考的博客:https://www.jianshu.com/p/13f5d20e61f8 https://www.jianshu.com/p/92b11e25bc14 zsh:command not find:conda 的详细解决办 open ~/.zshrc expor ...
分类:
系统相关 时间:
2020-07-07 00:29:41
阅读次数:
86
### str - list - tuple - dict ### 1.str ```python python 自带的dir函数可以查看序列的放法 使用方法: print(dir('dsad')) 1.index(find):查找某一个字符的起始位置,若找不到,index报错,find返回假 rf ...
分类:
其他好文 时间:
2020-07-06 20:02:51
阅读次数:
58
说实话,我很讨厌某博客上抄来抄去搞得我一搜结果就乱七八糟的,找个资料都难,我就是坚定的吹谷歌。 正题,在win10安装WSL的时候遇到的问题,错误信息wslregisterdistribution failed with error: 0x8007007b,我在某博客上翻了不少都没找到解决办法,用谷 ...
分类:
其他好文 时间:
2020-07-06 19:53:52
阅读次数:
328
scrapy是python的一个爬虫框架,从网上随意搜索便能得到千篇一律的使用demo(本文也是哟),并且非常容易理解。即便你没看过相关的demo,也一样可以食用本文。我的应用场景大多是列表页,文章页等。如果你的业务需要登录验证,图片验证等,请另寻他法,不要在本篇文章浪费你宝贵的时间。由于我的代码编 ...
分类:
其他好文 时间:
2020-07-06 18:16:18
阅读次数:
70
# -*- coding:utf-8 -*- import requests from bs4 import BeautifulSoup url = "http://top.baidu.com/buzz?b=1&fr=topindex" header = { "user-agent": "Mozil ...
分类:
其他好文 时间:
2020-07-06 16:29:50
阅读次数:
414
###函数接口定义: 函数Insert将X插入二叉搜索树BST并返回结果树的根结点指针; 函数Delete将X从二叉搜索树BST中删除,并返回结果树的根结点指针;如果X不在树中,则打印一行Not Found并返回原树的根结点指针; 函数Find在二叉搜索树BST中找到X,返回该结点的指针;如果找不到 ...
分类:
其他好文 时间:
2020-07-06 16:21:35
阅读次数:
57
1,自定义Mybatis框架接口分析 2,入门基础框架的分析 MybatisUtils代码: public class MybatisUtils { private static SqlSessionFactory sqlSessionFactory; static { String resourc ...
分类:
其他好文 时间:
2020-07-06 13:13:33
阅读次数:
58
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. 给n个不同的数,求0-n这n+1个数里缺了哪个 利用异或运算的性 ...
分类:
其他好文 时间:
2020-07-06 12:45:24
阅读次数:
55
1.Introduction 1.1 Tasks, Platforms, and Goals One of the most basic and desirable(向往的,可取的) uses of the IrDA infrared(红外) communication protocols is s ...
分类:
其他好文 时间:
2020-07-05 23:18:33
阅读次数:
55
FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.q... ...
分类:
编程语言 时间:
2020-07-05 23:03:01
阅读次数:
289