bootstrap pre代码块

9967595-957fded74247441e.png
str

<pre>
while True:
status = os.system("ping -c 1 www.baidu.com")
if status == 1:
print('wifi掉线')
os.system('netsh wlan connect name=802.1x')
else:
print('连接状态')
time.sleep(180)
</pre>

猜你喜欢

转载自blog.csdn.net/weixin_34349320/article/details/90866477