import re
p = re.compile(r'\w+|[^\w\s]+')
s = "There is light!"
print(p.findall(s))