sun and cloud
🌈 欢迎访问我的博客,又是美好的一天!

Python语言学习:各种为空的情况检测

类似于其它语言的 is_emtpy 的各种检测

python is_empty None
阅读更多

python小课堂:02 基本的shell命令/Python介绍/Python环境

Python学习过程中的一些基本的shell命令

python shell bash python3
阅读更多

Mac下安装 php 环境

Mac 下如何搭建 PHP 开发环境?

mac php
阅读更多

执行 brew install 命令长时间卡在 Updating Homebrew 的解决方法

在国内的网络环境下使用 Homebrew 安装软件的过程中可能会长时间卡在 Updating Homebrew 这个步骤。

brew install slow 长时间
阅读更多

爬虫项目小结:gbins-spider,一个物种分类基因库的爬虫

记录一下:一个基本没有做反爬虫的网站数据,竟然有这么多的坑

项目 公司 gbins spider scrapy +3
阅读更多

Python语言学习:如何执行 shell 命令

python执行shell脚本的几种方法

python shell sh system 脚本 popen +2
阅读更多

短期轻断食/辟谷/减肥 2022-01-03 到 2022-01-25

这段时间体重严重飙升,决定减食一段时间

小目标 减肥 weight 辟谷 轻断食 体重 +2
阅读更多

Python语言学习:@staticmethod 与 @classmethod

python 里的静态方法(@staticmethod)与类方法(@classmethod)

python staticmethod classmethod
阅读更多

Python语言学习:属性 property

python 里的属性操作 set/get/del

python python3 属性 property
阅读更多

scrapy学习:如果出现异常情况,让 scrapy 的任务自动重启/retry

有时候,scrapy 会因为一些不可遇知的情况下终止任务,这时候,我们可以利用 middleare 来完成重启

scrapy python3 爬虫 重试 retry restart +1
阅读更多