摘要: #!/usr/bin/env python import os,sys,time,re,prettytable,json from collections import defaultdict,OrderedDict conf='haproxy.cfg' ###指定haproxy配置文件### jgf='' ######################1.input输入字符类型转化函数####################### def input_handle(s): if str.isdigit(s): ###对输入是否是数字进行判断### s = int(s) ###如果输出的是个数字,则转化为整数类型### return s 阅读全文
posted @ 2016-04-25 14:43 geek3 阅读(1655) 评论(0) 推荐(0) 编辑