>>> from nltk.tokenize import word_tokenize
>>> s = '''Good muffins cost $3.88
in New York. Please buy me
... two of them.
Thanks.'''
>>> word_tokenize(s)
['Good', 'muffins', 'cost', '$', '3.88', 'in', 'New', 'York', '.',
'Please', 'buy', 'me', 'two', 'of', 'them', '.', 'Thanks', '.']