socket.gethostbyname 第2页
- 第五章 import导入第三方库或者模块
-
python中可以import的有module和package:1、module模块通常模块为一个文件,直接使用import文件名就可以导入。可以作为module的文件类型有".py"、".pyo"、".pyc"、".pyd"、".so"、".dll"。...
- Python,文件操作和读写操作,网络编程,TCP通信基础知识
-
Python文件操作和读写操作Python文件读写模式...
- 软件测试工程师必会技术:Python带你上手WebSocket
-
关于Socket那些事...
- 在 python 中,你对 module 和 package 知道多少?
-
我们接着上一次分享,这一次是在package下继续嵌套一个package,项目目录如下pkg1---__init__.py---mod1.py------pkg2---------__init__.py---------mod2.py...
- 干货!python实现mysql自动化备份、清理、通知
-
前言本文是阿里云RDS迁移后拓展,解决自动备份并通过邮件通知备份结果。关于阿里云RDS迁移详见...
- Docker入门教程(2):容器(docker helloworld容器)
-
前提条件安装Docker版本1.13或更高版本阅读本系列教程...
- 测试必会 | 通过容器化 Python Web 掌握 Docker 容器核心技能上
-
本篇文章将通过一个非常典型的PythonWeb应用作为案例,讲解Docker容器使用的主要场景。包括构建镜像、启动镜像、分享镜像、在镜像中操作、在镜像中挂载宿主机目录、对容器使用的资源进行限制、管理容器的状态和如何保持容器始终运行。熟悉了这些操作,你也就基本上摸清了Docker容器的核...
- 基于zabbix4.2 监控rabbitmq消息队列服务
-
概述线上业务使用RabbitMQ作为消息队列中间件,那么作为运维人员对RabbitMQ的监控就很重要,今天就针对如何从头到尾使用Zabbix来监控RabbitMQ进行说明。...
- Python中requests获取网络请求背后的socket
-
这是我们访问一个网站的大概逻辑截图当我们在浏览器中输入某个网址如baiducom回车后,计算机会把这个请求HTTP发送出来,当然最后的信息都是物理上的,在更高层面的网络应用协议上则是HTTP协议...
- docker连接两个容器(docker compose links连接三个容器)
-
容器是用来提供服务的,每个容器都是运行一个进程,或许是一个web程序,或许是一个数据库服务,而在每个容器之间都是需要相互访问的,从而在这里构建一个python的程序,一个容器运行python的应用程序,一个容器用来运行redis服务,在应用程序中访问redis,具体架构如下:...