摘要: # 题目:打印出如下图案(菱形): # # * # *** # ***** # ******* # ***** # *** # * nu = 1 # 开始值 k = 2 # 变量值 while nu >= 0: print(int((7 - nu) / 2) * ' ' + '*' * nu) nu += k if nu == 7: ... 阅读全文
posted @ 2019-04-29 18:07 莫渊博 阅读(4030) 评论(0) 推荐(0) 编辑
摘要: # 文件存储时可以这样表示 ## id,name,age,phone,dept,enroll_date# 1,Alex Li,22,13651054608,IT,2013-04-01# 2,Jack Wang,28,13451024608,HR,2015-01-07# 3,Rain Wang,21,13451054608,IT,2017-04-01# 4,Mack Qiao,44,1565335... 阅读全文
posted @ 2019-04-24 16:48 莫渊博 阅读(256) 评论(0) 推荐(0) 编辑
摘要: PidFile=/var/run/zabbix/zabbix_agentd.pidLogFile=/var/log/zabbix/zabbix_agentd.logLogFileSize=30Server=zabbix-proxy IPServerActive=zabbix-proxy IPHost 阅读全文
posted @ 2019-01-07 17:59 莫渊博 阅读(506) 评论(0) 推荐(0) 编辑
摘要: ProxyMode=0 Server=zabbix-server的IPHostname=zabbix proxy(跟在zabbixWED网页建立代理proxies名称一样) LogFile=/data/zabbix/zabbix_proxy.logLogFileSize=30PidFile=/dat 阅读全文
posted @ 2019-01-07 17:55 莫渊博 阅读(178) 评论(0) 推荐(0) 编辑