docker搭建gitlab服务器(Centos7)
摘要:系统环境:CentOS Linux release 7.6.1810 (Core) git版本:gitlab/gitlab-ce 一、安装和启动docker 见HTTPRUNNERMANAGER安装部署 二、拉取镜像文件 docker images #查看镜像文件,没拉取之前是没有任何镜像的 doc
阅读全文
python入门(八):文件操作
摘要:1、数据的保存: 1) 内存:常用的变量都是在内存里面的 缺点:关机或进程死掉数据丢失 解决方法:将数据保存至文件中 2 )文件:文本内容、二进制的文件内容 3 )数据库:保存 缺点:关机或进程死掉数据丢失 解决方法:将数据保存至文件中 2、读文件: 1 )要读取的文件,路径一定要存在。 如果不存在
阅读全文
HttpRunnerManager使用(一)
摘要:用例: 一、request requests headers 》headers设置 requests type:params 》请求参数设置,URL参数(get) requests type:data 》请求参数设置,Body参数,form-data数据格式(post) requests type:
阅读全文
python入门(七):字符串
摘要:1.字符串类型: >>> s="早上好" #str类型的字符串 >>> type(s) <class 'str'> >>> s=s.encode("utf-8") #bytes类型的字符串 >>> type(s) #bytes类型主要用于网络传输和写入文件 <class 'bytes'> >>> i
阅读全文
python入门(六):函数
摘要:1.系统自带的函数: >>> dir(__builtins__) ['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BlockingIOError', 'BrokenPipeError', 'Buffe
阅读全文