去除括号内容

pat = re.compile('\(.*?\)’)
print pat.sub("", s, 1)

 

取括号内容

print  re.findall('\((.*?)\)', s)[0]