Re: [Tutor] Contents of Tutor digest, Help with hangman

2010-07-19 Thread John Palmer
Right thanks for all the help guys, finally got it working. It was because as previously suggested, I was using Idle instead of the terminal. Again thanks for all the help John ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscriptio

Re: [Tutor] Contents of Tutor digest, Help with hangman

2010-07-19 Thread Wayne Werner
On Mon, Jul 19, 2010 at 11:20 AM, John Palmer wrote: > Thanks a lot for the help guys, but when I use the getpass.getpass(Enter > your word here, I get a different response to what you get. This is what > happen with mine: > > >>> import getpass > >>> s = getpass.getpass("Enter your word here: ")

Re: [Tutor] Contents of Tutor digest, Help with hangman

2010-07-19 Thread Timo
po64kfuv1ueacne7bvmhvutz...@mail.gmail.com>> Content-Type: text/plain; charset=UTF-8 On Mon, Jul 19, 2010 at 07:14, ALAN GAULD mailto:alan.ga...@btinternet.com>> wrote: > > >> 4 and executed many times. Seems the 0 in 0 is >> there when a

Re: [Tutor] Contents of Tutor digest, help with Hangman program

2010-07-19 Thread Alan Gauld
"John Palmer" wrote Please trim your messages and not post the entire digest. Hi Alan thanks for the help. I did try the getpass module, I think I used: getpass.getpass() This actually prompted the user to enter a password, which isn't really what I want. Unless there's something i'm mis

Re: [Tutor] Contents of Tutor digest, Help with hangman

2010-07-19 Thread John Palmer
do > > > >>>> "0"*10 > > '00' > > Ah, you're absolutely right. Sorry, I misunderstood you and your '*'. > Good catch. > > Dick > > > -- > > Message: 4 > Date: Mon,

Re: [Tutor] Contents of Tutor digest, help with Hangman program

2010-07-19 Thread bob gailer
On 7/19/2010 7:37 AM, John Palmer wrote: Hi Alan thanks for the help. I did try the getpass module, I think I used: getpass.getpass() This actually prompted the user to enter a password, which isn't really what I want. Unless there's something i'm missing with this module? I'll take another

Re: [Tutor] Contents of Tutor digest, help with Hangman program

2010-07-19 Thread Steven D'Aprano
On Mon, 19 Jul 2010 09:37:25 pm John Palmer wrote: > Hi Alan thanks for the help. I did try the getpass module, I think I > used: > > getpass.getpass() > > This actually prompted the user to enter a password, which isn't > really what I want. Unless there's something i'm missing with this > module?

Re: [Tutor] Contents of Tutor digest, help with Hangman program

2010-07-19 Thread John Palmer
Hi Alan thanks for the help. I did try the getpass module, I think I used: getpass.getpass() This actually prompted the user to enter a password, which isn't really what I want. Unless there's something i'm missing with this module? I'll take another look anyway. On 19 July 2010 11:00, wrote