You can use the stopwords
lists from NLTK, see How to remove stop words using nltk or python.
And most probably you would also like to strip off punctuation, you can use string.punctuation
, see http://docs.python.org/2/library/string.html:
>>> from nltk import word_tokenize
>>> from nltk.corpus import stopwords
>>> import string
>>> sent = "this is a foo bar, bar black sheep."
>>> stop = set(stopwords.words('english') + list(string.punctuation))
>>> [i for i in word_tokenize(sent.lower()) if i not in stop]
['foo', 'bar', 'bar', 'black', 'sheep']