Human: Removing control characters from a string in python Assistant: 
Here is some code to removing control characters from a string `s`

return ''.join(ch for ch in s if unicodedata.category(ch)[0] != 'C')

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