import ConfigParser
ticket_config = ConfigParser.ConfigParser()
ticket_config.read('/data/config/lcc_ticket_info/config2.properties')
username = ticket_config.get("MMB2B","LTHKB2B.username")
print (username)