[Tutor] Find all strings that....

Alex Hall mehgcap at gmail.com
Thu Nov 10 17:14:53 CET 2011


What about just grabbing a bit text file, such as from Project
Gutenberg (sorry for the possibly incorrect spelling)? Or copying the
text from a large webpage and pasting it into a text file?

On 11/10/11, Alexander Etter <rhettnaxel at gmail.com> wrote:
>
>
> Hi. My friend gave me a good wake up exercise which I do not want you to
> solve for me: find all strings which can be converted to alpha with at most
> two operations, where alpha is some string constant, and a substring of at
> least length three of alpha must be in the answers.
> So, my question is: is there a library or .txt dictionary ( not the data
> type, rather the merriam webster kind ) I can use to test my script on? I'd
> imagine this library/dictionary to contain thousands of words. Not random
> words.
> Thanks for reading,
> Alexander
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>


-- 
Have a great day,
Alex (msg sent from GMail website)
mehgcap at gmail.com; http://www.facebook.com/mehgcap


More information about the Tutor mailing list