self.guess overwrites itself, that's a live you commented on.
And why it doesn't display the game over message is you do the "game
over" check before you do the "is this correct?" check, but don't check
to see if the game is over before the 2nd check.
If that didn't make sense, psudocode:
if c
Some comments, short (typing on mobiles is no fun):
* self.guess gets overridden after the first iteration with an integer. guess
what, integer don't have get methods.
* I'd suggest to use if/elif/else, not independant ifs. better to read anyway.
* consider using a dictionary to parametrize you
Hi need to get this program running for school so my teacher said to use the
forum etc. Its working fine except its not comparing my guess with the
result. im only having trouble with the second half or def update_text_count
can you please help find a solution so my program works please. i dont
Hello!.
I have a project in school and I was wondering if its possible to make a
python program that uses Imaging library to make a GUI of the same functions
that Imaging has.
To make the program open the images inside the main program.
If its possible to make it in glade.?
And if all answer
On 08/05/07, Teresa Stanton <[EMAIL PROTECTED]> wrote:
> I seem to be stuck again. I've attached my entire file (and the .gif I'm
> using. My son made this .gif, its our lab). The problem is my xp (the
> variable I use for my x coordinate) isn't updating after the .gif moves. I
> think I should
Thank you, that was the correct direction. What I ended up doing is this:
def onClickVertical(newY, xp, yp):
for i in range(newY): #nextX gives how many steps to the next position
yp += .8 #moves to correct position
canvasOne.coords(ph, xp, yp)
time.slee
At 12:49 PM 5/7/2007, Andreas Kostyrka wrote:
I'm almost sure that Python as
such runs on Win95. Some modules might
not. But I'm also almost sure that the installer is not Win95
compatible.
But there's this from
<
http://www.python.org/download/releases/2.5/>, which seems to
imply that if he firs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm almost sure that Python as such runs on Win95. Some modules might
not. But I'm also almost sure that the installer is not Win95 compatible.
Andreas
Alexander Kapshuk wrote:
> Hello Everyone,
>
>
>
> Quick question …
>
>
>
> I’ve got an o
> when you are doing print these two characters keep showing up in this book
> "%s" %
> What do they do?
"Fill in the blank"
Kind of like generic paper forms where they have a blank underline for
you to fill in your information.
Give it a variable name, and it will fill in the "blank" (the %s)
On 5/7/07, Dave C <[EMAIL PROTECTED]> wrote:
> when you are doing print these two characters keep showing up in this book
> "%s" %
>
> What do they do?
http://docs.python.org/lib/typesseq-strings.html
--
- Rikard - http://bos.hack.org/cv/
___
Tutor ma
when you are doing print these two characters keep showing up in this book
"%s" %
What do they do?
here is example of complete command.
print "%s" % last_names[-2]
Thank you,
Dave
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailma
11 matches
Mail list logo