码迷,mamicode.com
首页 >  
搜索关键字:open stack    ( 34043个结果
python 学习os.systemsystem和os.popen
两个都可以执行系统命令,但是如果想要获取到命令的输出内容就要用到os.popen com=os.popen('ls') print(com.readlines()) ...
分类:编程语言   时间:2020-12-07 12:35:05    阅读次数:6
Excel:VBA 字符串函数&转换函数
##1,vba字符串函数列表: Trim(string) 去掉string左右两端空白 Ltrim(string) 去掉string左端空白 Rtrim(string) 去掉string右端空白 Len(string) 计算string长度 Left(string, x) 取string左段x个字符 ...
分类:编程语言   时间:2020-12-07 12:24:32    阅读次数:5
C++—读取配置文档
配置文件格式为: 代码: ClassName::ChineseName() { ifstream configFile; string filePath = "填写配置文档地址"; configFile.open(filePath.c_str()); string strLine; if (conf ...
分类:编程语言   时间:2020-12-07 12:22:07    阅读次数:6
配置中心 ------- Nacos
一、配置中心 nacos有两大功能:注册中心和配置中心 nacos的中文文档:https://nacos.io/zh-cn/docs/open-api.html 1、配置文件的缺点 (1)生产环境的数据库的用户名和密码都配置在配置文件中,所有开发人员都能看到密码,这就造成了一定的安全隐患; (2)配 ...
分类:其他好文   时间:2020-12-07 12:04:54    阅读次数:3
可视化JVM中的内存管理
? Part of "memory-management" series Please follow me on Twitter for updates and let me know if something can be improved in the post. In this multi-p ...
分类:其他好文   时间:2020-12-05 11:10:24    阅读次数:7
通过Cookie跳过登录验证码【限cookie不失效有用】
通过Cookie跳过登录验证码【限cookie不失效有用】验证码,相信每个写web自动化测试的同学来说,都是个头疼的事,怎么办呢?方法还是有的,先说今天这种方式,通过cookie绕过登录验证码思路:需要你通过抓包工具抓到你登录的cookie接下来开始动手。1、开启Fiddler工具,像这样!2、通过浏览器登录正常登录百度账号。像这样!3、通过Fiddler获取登录请求的Cookie。找到Host为
分类:其他好文   时间:2020-12-05 10:35:55    阅读次数:6
Python 对象上下文管理协议
class MyOpen: def __init__(self,filename): self.filename=filename def __enter__(self): self.file = open(self.filename, 'r') data = self.file.read() pr ...
分类:编程语言   时间:2020-12-04 11:46:56    阅读次数:14
base64转换
import os, base64,reli=os.listdir(r'C:\Users\lenovo\Desktop\allsvg')os.chdir(r'C:\Users\lenovo\Desktop\allsvg')print(li)for i in li: with open(i,mode= ...
分类:其他好文   时间:2020-12-04 11:38:25    阅读次数:7
异常问题记录
异常问题记录 1.windows文件右键属性拷贝路径异常 windows文件右键属性拷贝路径的时候会有一个隐藏的Unicode字符, 在var fileStream = File.OpenRead(filePath);的时候会报异常:不支持给定路径的格式。 ...
分类:其他好文   时间:2020-12-04 11:38:08    阅读次数:8
360免费查询手机号归属API地接口
接口地址: https://cx.shouji.360.cn/phonearea.php?number=手机号 import java.io.*; import java.net.HttpURLConnection; import java.net.URL; import java.util.reg ...
分类:移动开发   时间:2020-12-04 11:36:43    阅读次数:14
34043条   上一页 1 ... 53 54 55 56 57 ... 3405 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!