摘要:
查看 "官网说明" 发现推荐是安装Anaconda 或 Miniconda,这东西有点大而全,感觉目前用不上。所以没这样做。 直接安装scrapy 如果直接装会报错的,参考 "文章" 就可以解决。 这里记一下组件下载 "网址" . 完成安装 Pycharm的Terminal中输入 命令,如果命令能找 阅读全文
摘要:
```python class Sort(object): def quick_sort(self, ls): self.quick_sort_helper(ls, 0, len(ls) 1) return ls def quick_sort_helper(self, ls, start, end) 阅读全文
摘要:
1. Importer协议 协议涉及两个对象: Finder 和 loader 1. Finder 实现了方法: 返回一个loader对象或者None。 2. Loader 实现了方法: 返回一个module对象或者raise an exception 参考: "pep302" 2. 注册hooks 阅读全文
摘要:
1. 安装jar8 yum list java 1.8 sudo yum install java 1.8.0 openjdk y java version 2. 安装elasticsearch wget https://artifacts.elastic.co/downloads/elastics 阅读全文
摘要:
1. 指定阿里云镜像, 安装requirements.txt中的所有 pip install i http://mirrors.aliyun.com/pypi/simple/ trusted host mirrors.aliyun.com r requirements.txt 我这里是用了阿里云,当 阅读全文
摘要:
pycharm:terminal中显示乱码的解决方式 阅读全文
摘要:
nginx:location指令中的正则表达式 uri匹配步骤 官网说明 "https://docs.nginx.com/nginx/admin guide/web server/web server/" 1. 测试所有的前缀字符串 2. 如果匹配到=后的字符串,则使用这个location; 3. 阅读全文