08 2020 档案

摘要: 阅读全文
posted @ 2020-08-29 07:57 AngDH 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-26 21:11 AngDH 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-26 20:07 AngDH 阅读(86) 评论(0) 推荐(0) 编辑
摘要:案例 2 todolist 阅读全文
posted @ 2020-08-17 23:46 AngDH 阅读(78) 评论(0) 推荐(0) 编辑
摘要:python3.7的安装和配置 1. 安装系统依赖包 yum -y install openssl-devel zlib-devel bzip2-devel sqlite-devel readline-devel libffi-devel systemtap-sdt-devel yum instal 阅读全文
posted @ 2020-08-17 21:25 AngDH 阅读(832) 评论(0) 推荐(0) 编辑
摘要:https://gitee.com/AngDH/thread_batch.git 阅读全文
posted @ 2020-08-08 21:16 AngDH 阅读(176) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zhenliang8/article/details/78330658 创建容器: # docker run -d -name centos7 --privileged=true centos:7 /usr/sbin/init 进入容器: # docker 阅读全文
posted @ 2020-08-07 12:26 AngDH 阅读(1751) 评论(0) 推荐(0) 编辑
摘要:第一种继承Thread类 重写run方法 class CreateThread extends Thread { // run方法中编写 多线程需要执行的代码 publicvoid run() { for (inti = 0; i< 10; i++) { System.out.println("i: 阅读全文
posted @ 2020-08-05 23:30 AngDH 阅读(118) 评论(0) 推荐(0) 编辑
摘要:docker pull angdh/centos7_python3_scrapyd:1.0 阅读全文
posted @ 2020-08-05 17:09 AngDH 阅读(110) 评论(0) 推荐(0) 编辑
摘要:服务端 # coding: utf-8 import socket import threading server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind(('0.0.0.0', 8000)) server.li 阅读全文
posted @ 2020-08-02 17:11 AngDH 阅读(497) 评论(0) 推荐(0) 编辑
摘要:# coding: utf-8 import socket from urllib.parse import urlparse def get_url(url): url = urlparse(url) host = url.netloc path = url.path if path == "": 阅读全文
posted @ 2020-08-02 13:41 AngDH 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-01 16:32 AngDH 阅读(124) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示