What is the most pythonic way to exclude elements of a list that start with a specific character?
Asked 2012-08-03T07:54:51.667
9
I have a list of strings. I want to get a new list that excludes elements starting with '#' while preserving the order. What is the most pythonic way to this? (preferably not using a loop?)