摘要: 编码与解码 decode英文意思是解码,encode英文原意是编码。 Python 里面的编码和解码也就是 unicode 和 str 这两种形式的相互转化。编码是 unicode -> str,解码是 str -> unicode。 字符串在Python内部的表示是unicode编码,因此,在做编 阅读全文
posted @ 2019-09-24 20:34 刘_love_田 阅读(6605) 评论(0) 推荐(1) 编辑
摘要: 一、安装iptables服务 1、查看系统是否安装了iptables防火墙 [root@localhost ~]# iptables -V 2、安装 iptables 防火墙 3、查看防火墙规则列表 [root@localhost ~]# iptables --list [root@localhos 阅读全文
posted @ 2019-09-24 15:04 刘_love_田 阅读(1516) 评论(0) 推荐(0) 编辑