返回顶部
摘要: 查看 $lscpu $cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 查看内存配置 $free -h 查看硬盘大小 $fdisk -l |grep Disk<br>$lspci -v -s 00:02.0 (输入显卡序号,获得某块显卡的详细 阅读全文
posted @ 2020-03-23 19:49 Be-myself 阅读(647) 评论(0) 推荐(0) 编辑
摘要: open()方法 open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) 打开一个文件并返回文件对象 如果该文件无法被打开,会抛出OSError 官 阅读全文
posted @ 2020-03-23 13:42 Be-myself 阅读(9820) 评论(0) 推荐(1) 编辑
摘要: alter add命令用来增加表的字段。alter add命令格式:alter table 表名 add字段 类型 其他; 例如,在表MyClass中添加了一个字段passtest,类型为int(4),默认值为0: mysql> alter table MyClass add passtest in 阅读全文
posted @ 2020-03-23 11:27 Be-myself 阅读(2318) 评论(0) 推荐(0) 编辑
levels of contents 点击查看具体代码内容