On Sat, Aug 29, 2009 at 2:08 PM, Ishan Puri<ballerz4i...@sbcglobal.net> wrote:
> Hi,
>     Yes! It works! I guess I am asking how did you know to use
> wordlists.words('IM50re.txt')? Is this a specific command, as I believe it
> was not in the book?

It is taken directly from the example in the book:
>>> wordlists.fileids()
['README', 'connectives', 'propernames', 'web2', 'web2a', 'words']
>>> wordlists.words('connectives')

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to