How do I skip over multiple words in a file?

chad cdalten at gmail.com
Thu Nov 11 10:07:32 EST 2010


Let's say that I have an article. What I want to do is read in this
file and have the program skip over ever instance of the words "the",
"and",  "or", and "but". What would be the general strategy for
attacking a problem like this?



More information about the Python-list mailing list