Python 3:
extracted_list = list(filter(lambda x: x != ' ' , input_list))
or if you want to avoid multiple spaces check if it's an integer and filter out anything that's not an integer.
extracted_list = list(filter(lambda x: isinstance(x,int) , input_list))
If you need other kinds like float or complex you can do:
extracted_list = list(filter(lambda x: isinstance(x,(float,int,complex)) ,input_list))
speed: --- 6.818771362304688e-05 seconds ---
Or for any number
import numbers
input_list = [5, ' ', 43, ' ', 8, ' ', 109, ' ', 32, 3.14]
extracted_list = list(filter(lambda x: isinstance(x, numbers.Number) ,input_list))
print (extracted_list)
you can test it here: http://py3.codeskulptor.org/#user301_l6dgnVkb19Or9dN.py