摘要: #coding=utf8import ConfigParserconfig = ConfigParser.ConfigParser()config.readfp(open(raw_input("input file name:"), "rb"))print config.get("global", "ip") config.ini[global]ip = 192.168.1.100 ;ip地址port = 3306password = 123456 阅读全文
posted @ 2013-06-19 14:19 践道者 阅读(17460) 评论(0) 推荐(0) 编辑