I want to convert a string into a list of characters and the list should not have space ('') as an element even if the string has space. What is the Pythonic way to do it?
E.g.
'hello world' should be converted to ['h', 'e', 'l', 'l', 'o', 'w', 'o', 'r', 'l', 'd'], not to ['h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']