摘要: import os #导入os模块def search(): #定义查找函数 with open('haproxy.txt','r') as f: #只读方式打开文件 value = input('请输入您要查询的信息:') backend = 'backend %s' % value #字符串拼接 阅读全文
posted @ 2017-05-25 13:56 咫灵 阅读(229) 评论(0) 推荐(0)