【IF...THEN...语句】 If condition Then [statements1] else [statements2] end if condition 为一个逻辑表达式,表示做选择时需要判别的条件,其结果为布尔类型,当其值为真时,执行statements1语句,为假是则执行ELSE中…
字符串介绍
一. 认识字符串
字符串是 Python 中最常用的数据类型。我们一般使用引号来创建字符串。创建字符串很简单,只要为变量分配一个值即可。
a hello world
b "abcdefg"
print(type(a))
print(type(b)) 注意:控制台显示结果为<cl…
解决方法: 首先cmd命令打开,输入nginx -t测试配置文件是否能运行OK,如果报错bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a …) 则说明配置文件中的端口0.0.0.0:80被占用 可使用下面两种方法解决:
cmd输…