# 检测端口是否可以连通 import socket import time def check_tcp_port(host, port, timeou...
# 检测端口是否可以连通 import socket import time def check_tcp_port(host, port, timeou...
### 进行https访问检测 body+="\r\n" print("HTTPS连通性测试") body+=&q...
import psutil def get_ip_address(ifname): try: return socket.get...
# 获取网关以及其MAC地址 import netifaces import time # 获取默认网关的IP地址 def get_default_ga...
import requests def fetch_and_save(url, filename, verify=False): try: ...
import requests def getPublicIP(): url = 'https://www.op123.ren/myip' ...
### 域名解析 import socket def print_dns_resolution(domain): try: ip...
## tcptraceroute body+="\r\n" print("追踪到NLS服务器端口") body+=...
from selenium import webdriver # 使用Selenium访问网页并截图 def take_screenshot(url, ...
在 Python 中,变量用于存储数据值。Python 是一种动态类型的语言,这意味着您不需要事先声明变量的类型。当您为变量赋值时,Python 会自动确...
https://github.com/Python-World/python-mini-projects
https://github.com/lyhue1991/eat_pytorch_in_20_days