摘要:
chmod +x test.sh #给test文件添加权限 ./test.sh #运行桌面上的文件 /home/cx/test2.sh #运行指定目录下的文件 #!/bin/bash #指定告知系统当前这个脚本要使用的shell解释器 a="hello" 定义变量 echo $a 输出变量 dt=` 阅读全文
posted @ 2022-03-19 16:04
森林深处有一道光
阅读(43)
评论(0)
推荐(0)
摘要:
1、单独创建索引 create index 索引名 on 表名(要创建索引的列名); create index index_name on emp(emp_name); 2、修改表结构创建索引 alter table 表名 add index 索引名(要创建索引的列名); alter table e 阅读全文
posted @ 2022-03-19 14:11
森林深处有一道光
阅读(36)
评论(0)
推荐(0)
摘要:
from urllib import request import re page=54 #匹配段子吧的第五十四页 url="http://tieba.baidu.com/f?kw=%E6%AE%B5%E5%AD%90&ie=utf-8&pn="+str(page) try: #请求头 header 阅读全文
posted @ 2022-03-19 11:50
森林深处有一道光
阅读(47)
评论(0)
推荐(0)

浙公网安备 33010602011771号