Re: [Tutor] Need help with code

2017-04-19 Thread Joel Goldstick
You most likely have no file named words.txt in the directory from which you are running your code. On Mon, Apr 17, 2017 at 10:12 PM, Tyler Seacrist wrote: > Hello, > > > How do I avoid this error message everytime I utilize wordlist = > open("words.text") ? > wordlist = open("words.txt") >

Re: [Tutor] Need help with code

2017-04-19 Thread Alan Gauld via Tutor
On 18/04/17 03:12, Tyler Seacrist wrote: > How do I avoid this error message everytime I utilize wordlist = > open("words.text") ? > wordlist = open("words.txt") > Traceback (most recent call last): > File "", line 1, in > wordlist = open("words.txt") > FileNotFoundError: [Errno 2] N

[Tutor] Need help with code

2017-04-19 Thread Tyler Seacrist
Hello, How do I avoid this error message everytime I utilize wordlist = open("words.text") ? >>> wordlist = open("words.txt") Traceback (most recent call last): File "", line 1, in wordlist = open("words.txt") FileNotFoundError: [Errno 2] No such file or directory: 'words.txt' >>> def ca

Re: [Tutor] Need help with code

2017-04-17 Thread Danny Yoo
On Mon, Apr 17, 2017 at 12:00 AM, Alan Gauld via Tutor wrote: > On 16/04/17 18:26, Tyler Seacrist wrote: > >> I need to draw a stack diagram for print_n >> called with s = 'Hello' and n=2 and am unsure of how to do so. Are you referring to this? http://www.greenteapress.com/thinkpython/html/thi

Re: [Tutor] Need help with code

2017-04-17 Thread Alan Gauld via Tutor
On 16/04/17 18:26, Tyler Seacrist wrote: > I need to draw a stack diagram for print_n > called with s = 'Hello' and n=2 and am unsure of how to do so. Me too. What is print_n? Which stack? One in your program or the interpreters internal stack? We need a lot more detail. -- Alan G Author of

[Tutor] Need help with code

2017-04-16 Thread Tyler Seacrist
Hello, I need to draw a stack diagram for print_n called with s = 'Hello' and n=2 and am unsure of how to do so. Thanks, Tyler ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/lis

Re: [Tutor] Need help with code.

2009-06-19 Thread Dave Angel
Raj Medhekar wrote: Hi, I need help with the code below. I am trying to pair the list in the hint with the list of words. However, the list is not matching up correctly. Also when the correct guess is entered the program just continues without acknowledging the right answer. Please could y'al

Re: [Tutor] Need help with code.

2009-06-19 Thread bob gailer
Raj Medhekar wrote: Hi, I need help with the code below. I am trying to pair the list in the hint with the list of words. However, the list is not matching up correctly. Also when the correct guess is entered the program just continues without acknowledging the right answer. Please could y'all

[Tutor] Need help with code.

2009-06-19 Thread Raj Medhekar
Hi, I need help with the code below. I am trying to pair the list in the hint with the list of words. However, the list is not matching up correctly. Also when the correct guess is entered the program just continues without acknowledging the right answer. Please could y'all test this out and let