human
How to split string into words that do not contain whitespaces in python?
assistant
Here is some code to split string "This is a string" into words that do not contain whitespaces

"""This is a string""".split()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.