python去除字符串里的非数字

 filter(lambda ch: ch in ‘0123456789.’, crazystring)