import restring = "TEMPLATES = ( ('index.html', 'home'), ('base.html', 'base'))"print re.findall(r'\([^()]*\)', string)
Standard input is empty
["('index.html', 'home')", "('base.html', 'base')"]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!