Just to warn you, both filter() and map() will go away with Python3. As Arevos pointed out, they can be easily replaced with list comprehensions:
# write your own using list comprehension:
def map(f, s):
return [f(x) for x in s]
def filter(f, s):
return [x for x in s if f(s)]