上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 48 下一页
摘要: #include #include #include #include struct infomation{ char plate_num[16]; char time_str[32]; }; #define ROWNUM 20 #define COLUMN 5 int main(void) { int i = 0; // 20*5 ... 阅读全文
posted @ 2018-06-18 09:38 PKICA 阅读(244) 评论(0) 推荐(0)
摘要: 实现目标: 服务器A免密登录服务器B 在服务器A上生成密钥对 ~$ ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/local/.ssh/id_rsa 阅读全文
posted @ 2018-06-16 17:27 PKICA 阅读(166) 评论(2) 推荐(1)
摘要: linux中的sleep为库调用(library calls),其声明文件为unistd.h。 unsigned int sleep(unsigned int seconds); 如果进程或者线程调用sleep请求的休眠的时间seconds过去,那么会返回0;如果休眠期间被信号中断,那么返回剩余的休 阅读全文
posted @ 2018-06-15 15:49 PKICA 阅读(360) 评论(0) 推荐(0)
摘要: ./pyModuleTest/├── addutil│ ├── add.py│ ├── add.pyc│ ├── __init__.py│ ├── __init__.pyc│ └── readMe.txt└── utilModuleTest.py #!/usr/bin/env python # -* 阅读全文
posted @ 2018-06-14 11:23 PKICA 阅读(1055) 评论(0) 推荐(0)
摘要: Pycharm在创建py文件时,如何自动添加文件头注释(类似于钩子特性)? 阅读全文
posted @ 2018-06-07 16:24 PKICA 阅读(182) 评论(0) 推荐(0)
摘要: Python 函数传递list,传递dict 以及*args和**kargs 函数之间传递list: *args:输入数据长度不确定,通过*args将任意长度的参数传递给函数,系统自动将任意长度参数用list(tuple定长,特殊的list)表示 **kargs:输入数据长度不确定,系统自动将任意长 阅读全文
posted @ 2018-06-07 09:00 PKICA 阅读(3332) 评论(0) 推荐(0)
摘要: RobotFrameWork(三)数据类型 1.1 数字变量 执行结果: 1.2 布尔变量和None/null 执行结果: 1.3 字符串、元组、list和字典 执行结果: 1.4 space和empty 执行结果: 阅读全文
posted @ 2018-06-07 08:58 PKICA 阅读(1451) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/ltx19860420/article/details/5570902 1. shell脚本中定义的变量是global的,其作用域从被定义的地方开始,到shell结束或被显示删除的地方为止。 #!/bin/bashltx_func() { echo $v1 阅读全文
posted @ 2018-05-31 09:37 PKICA 阅读(869) 评论(0) 推荐(0)
摘要: 1 body = {} 2 3 item = {} 4 item['one'] = 'vip1' 5 item['two'] = 'vip2' 6 body.update({'vip':item}) # not exist 7 print(body) 8 9 # if exist 10 item[' 阅读全文
posted @ 2018-05-30 16:30 PKICA 阅读(414) 评论(1) 推荐(1)
摘要: 模块名: 小写字母,单词之间用_分割 参考python:logging 包名: 小写字母,单词之间用_分割 参考python:logging 类名: 单词首字母大写 参考:python class LogRecord(object): 普通变量: 小写字母,单词之间用_分割 参考:exc_info 阅读全文
posted @ 2018-05-28 15:24 PKICA 阅读(315) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 48 下一页