码迷,mamicode.com
首页 >  
搜索关键字:awk cannot open etcn    ( 33858个结果
利用python造数据
# 利用python 生成造数据的sql语句,再去mysql中执行 import random import time # 构造表t_user_weight def create_t_user_weight(): start = time.time() # 定义需要生成的数据量 count = 10 ...
分类:编程语言   时间:2020-12-09 12:20:38    阅读次数:6
14. 资源文件的使用
1. Qt Creator -> File -> New File or Project -> Qt -> Qt Resource File ->添加但当前项目 2. 创建资源文件名res.qrc -> 右键 ->Open in Editor 3. 当前目录下新建文件夹images,将资源文件放在该 ...
分类:其他好文   时间:2020-12-09 12:07:50    阅读次数:4
批量操作Tomcat Shell脚本
批量操作Tomcat Shell脚本 #!/bin/bash tom="/opt/ronghelist" product=$1 usage="{gongcheng1|all} {start|stop|restart|status}" if [ "$1" == "" -o "$2" == "" ];t ...
分类:系统相关   时间:2020-12-08 12:39:01    阅读次数:9
[oBIX包使用教程] 使用 Python 通过 oBIX 协议访问 Niagara 数据
oBIX 全称是 Open Building Information Exchange,它是基于 RESTful Web Service 的接口的标准,用于构建控制系统。oBIX是在专为楼宇自动化设计的框架内,使用XML和URI在设备网络上读写数据的。 因项目需要使用 Python 对 Niagar ...
分类:编程语言   时间:2020-12-08 12:20:07    阅读次数:7
Ubuntu不能直接从windows复制粘贴文件或文字
终端输入: apt-get autoremove open-vm-tools sudo apt-get install open-vm-tools-desktop 然后重启电脑就可以了。 https://blog.csdn.net/weixin_42670402/article/details/86 ...
分类:Windows程序   时间:2020-12-08 12:18:23    阅读次数:9
python 学习os.systemsystem和os.popen
两个都可以执行系统命令,但是如果想要获取到命令的输出内容就要用到os.popen com=os.popen('ls') print(com.readlines()) ...
分类:编程语言   时间:2020-12-07 12:35:05    阅读次数:6
kata namespace
// setupPersistentNs creates persistent namespace without switchin to it. // Note, pid namespaces cannot be persisted. func setupPersistentNs(namespac ...
分类:其他好文   时间:2020-12-07 12:33:25    阅读次数: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
linux下查找文件中空行的行号
linux下查找文件中空行的行号 linux下查找文件中空行的行号 以aa.txt举例: 方法1:sed -n '/[a-zA-Z0-9@#$%^&*]/!=' aa.txt 方法2:grep -n ^$ aa.txt 方法3:awk '/^$/{print NR}' aa.txt 方法4:sed ...
分类:系统相关   时间:2020-12-07 12:22:19    阅读次数:9
C++—读取配置文档
配置文件格式为: 代码: ClassName::ChineseName() { ifstream configFile; string filePath = "填写配置文档地址"; configFile.open(filePath.c_str()); string strLine; if (conf ...
分类:编程语言   时间:2020-12-07 12:22:07    阅读次数:6
33858条   上一页 1 ... 53 54 55 56 57 ... 3386 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!