摘要: 1.python中文编码 在2.0版本中。打印中文的时候,需要设置utf-8编码 # -*- coding: UTF-8 -*- # coding=utf-8 在3.0版本中,已经默认指定使用utf-8,所以不需要额外设定 阅读全文
posted @ 2022-09-02 17:37 家乐福的搬砖日常 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1.查询系统用户配置文件 [root@ecs-76840553 home]# cat /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbi 阅读全文
posted @ 2022-09-02 09:08 家乐福的搬砖日常 阅读(93) 评论(0) 推荐(0) 编辑