Download bryan_tests.py and run it with python bryan_tests.py
. Write functions in that file that implement the functionality described by the tests. When you're done, calling clean_file('C:\\whatever\\file\\path\\4_letter_words.txt')
will give you the words you want.
I was wondering if you've ever used Beautiful Soup to scrape words of a fixed length (4-letters) that don't repeat in order to create a dictionary - even better if none of the letters repeat? Though I'm looking through all manner of guides, I'm still not sure how to make that instruction.