自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 python fcntl 文件锁

此模块只有在 unix 系统上才有,windows 没有。文档地址:https://docs.python.org/3.7/library/fcntl.htmlhttps://www.docs4dev.com/docs/zh/python/3.7.2rc1/all/library-fcntl.html多进程示例程序import fcntlimport osimport timefr...

2019-09-04 18:06:28 446

转载 python3.7 ImportError: No module named _ssl 解决方法

笔者在 centos6.5 安装 python3.7 碰到此问题,安装好以后,执行 python3.7 命令行,import ssl 出现错误 ImportError: No module named _ssl 。 该错误表现在 pip install 时会报 pip is configured with locations that require TLS/SSL, however the ss...

2019-09-04 15:06:39 562

转载 Supervisor Event Listener 任务监控与告警

[toc]EventEvent 是在 Supervisor 3.0 引入的一个高级特性,如果只简单使用 Supervisor 管理进程,则不需要了解 Event。但如果希望监控 Supervisor 管理的进程的各种状态(如: 启动、退出、失败、退出状态码 ...)并支持告警,才需要学习 Event。事件监听与事件通知Event Listeners and Event Notifica...

2019-08-26 17:09:21 1163

转载 npm使用国内镜像源

[toc]一、通过配置 npm通过 config 设置npm config set registry https://registry.npm.taobao.org# 验证指令npm config get registry命令行指定npm --registry https://registry.npm.taobao.org编辑配置文件 ~/.npmrc 加入下面内容...

2019-08-09 10:38:01 944

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除