- 博客(3)
- 资源 (3)
- 收藏
- 关注
原创 Centos7修改默认启动内核
#使用cat /boot/grub2/grub.cfg |grep menuentry 查看系统可用内核root@Cs7-sh-03:/root> cat /boot/grub2/grub.cfg |grep menuentryif [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" menuentry_id_option=""export menuentry_id_optionmenuentr.
2020-06-11 17:52:02 649
原创 python中join()函数
函数:string.join()Python中有join()和os.path.join()两个函数,具体作用如下:join(): 连接字符串数组。将字符串、元组、列表中的元素以指定的字符(分隔符)连接生成一个新的字符串os.path.join(): 将多个路径组合后返回一、函数说明1、join()函数参数说明sep:分隔符。可以为空seq:要连接的元素序列、字符串、元组、字典上面的语法即:以sep作为分隔符,将seq所有的元素合并成一个新的字符串返回值:...
2020-06-09 15:13:58 117
原创 pyperclip模块copy()和paste()函数.py
import pyperclipname = "Hello" # 定义一个字符串pyperclip.copy(name) # 使用pyperclip模块的copy()函数把字符串拷贝到粘贴版print(pyperclip.paste()) # 打印粘贴版的内容
2020-06-09 15:13:45 865
Zabbix3forCentOS7最佳安装手册.pdf
2019-06-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人