2022年6月26日

linux的基本命令(二)

摘要: 别名设置 alias alias lm="ls -al | more"#别名设置 unalias lm #删除别名设置 历史命令 history history 3#将历史的命令读取出来 history -w#将目前的历史数据写入到histfile当中再默认情况下,会将历史写入~/ .bash hi 阅读全文

posted @ 2022-06-26 10:48 寂寞梧桐# 阅读(37) 评论(0) 推荐(0) 编辑

requests的使用之get请求

摘要: 基本用法 安装request 简单案例: import requests r=request.get("https://www.baidu.com/") print(type(r),r.status_code,type(r.text),r.text,r.cookies) #输出的是类型、状态码、响应 阅读全文

posted @ 2022-06-26 09:40 寂寞梧桐# 阅读(807) 评论(0) 推荐(0) 编辑

导航