1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
一、正则表达式 re模块是python独有的匹配字符串的模块,该模块中提供的很多功能是基于正则表达式实现的,而正则表达式是对字符串进行模糊匹配,提取自己需要的字符串部分,它对所有的语言都通用。 1.常用元字符 字符 说明 . 匹配除换行符(\n)外的所有字符;如果DOTALL已指定标志,则它匹配包括 ...
分类:
编程语言 时间:
2021-02-16 11:52:19
阅读次数:
0
import requests import re import os import json import time as t class QQmusic(): """代码仅供学习""" def __init__(self): """初始化""" self.headers = { 'Accept- ...
分类:
其他好文 时间:
2021-02-15 12:44:00
阅读次数:
0
Appium入门案例之Android篇 Appium环境搭建篇参考这个“环境搭建” (一)、获取package和activity 安卓自动化测试之前首先需要了解package和activity,由于测试前需要这两个参数的值来启动,一般称前置代码; 获取手机当前运行的package和activity的 ...
分类:
移动开发 时间:
2021-02-15 12:27:20
阅读次数:
0
动态赋值 var str = ''; for (var i = 0; i < response.data.id_with_codes.length; i++){ str += '<option value="'+ response.data.id_with_codes[i][0] +'">'+ re ...
分类:
其他好文 时间:
2021-02-15 12:19:35
阅读次数:
0
uniapp 模块权限说明 // 允许拍照 "<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>" ...
分类:
移动开发 时间:
2021-02-15 11:46:56
阅读次数:
0
package net.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; public class NetCheck { pub ...
分类:
移动开发 时间:
2021-02-10 13:11:58
阅读次数:
0
第一种 cannot pass objects of non-trivially-copyable type ‘std::string {aka class std::basic_string<char>} 1、能看到出现的问题在于 string; 2、然后发现是在日志打印位置。 基本可以确定是由于 ...
分类:
编程语言 时间:
2021-02-10 13:04:35
阅读次数:
0
An error occurred while installing rjb (1.6.4), and Bundler cannot continue. Make sure that `gem install rjb -v '1.6.4' --source 'https://gems.ruby-ch ...
分类:
其他好文 时间:
2021-02-10 13:00:46
阅读次数:
0
Ps:假期想做一个3d球体的相册,在网上搜索源码,定位到一个抽象出来的3dTagCloudAndroid技术。下载到本地,想在手机端运行遇到个报错,记录下。 Ps:开源库地址:https://github.com/misakuo/3dTagCloudAndroid 首先:本地克隆代码,后会自动加载依 ...
分类:
移动开发 时间:
2021-02-09 12:16:21
阅读次数:
0