import re print(re.split(r'(?<=[.!?])\s+', 'You! Are you Tom? I am Danny.'))
Standard input is empty
['You!', 'Are you Tom?', 'I am Danny.']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!