Hey There Everyone,
I'm following an example in a book and I can't find the error that's
preventing this program from running. It's just an example of how to get a
sprite moving. The images are all in the right folder. I can run the program
and get a stationary sprite to appear. The tr
two, and therefore you are not really defining __init__ but
instead are relying upon the inherited one from object (which takes no
parameters).
With regard,
Michael
On Monday December 17, 2007, earlylight publishing wrote:
> Okay I copied this code directly from a book (author Michael Dawson)
Okay I copied this code directly from a book (author Michael Dawson) and it's
not working. I'm sure I've missed something obvious like the spacing or
something but I've been staring at it for 10 minutes and I can't see it. I'll
put the code and error message below. Can someone else spot the p
No prob about the gender confusion. :-) I'd be willing to bet most folks
around here are male so it's not unreasonable to assume. I wasn't offended,
just thought I'd share in the interest of accuracy. Thanks for the kind
appology anyway. Hope I haven't set off a firestorm!
Message: 1
I don't know if this'll help or not but I just learned about this:
file = raw_input(info).lower
The .lower is supposed to convert any input to lower case.
--
Message: 4
Date: Fri, 14 Dec 2007 11:14:13 -0500
From: "Bryan Fodness" <[EMAIL PROTECTED]>
S
her difficulties
understanding the concepts in the book. I just thought I'd share what worked
for me. :-)
The OP has not specified what his problems specifically are, but
"earlylight
publishing" described his problem before, and he was not understanding
why
the >>&g
them in the shell. Do people really write
whole applications just using the shell?
"earlylight publishing" <[EMAIL PROTECTED]> wrote
>I have the latest python version too when I first started "A Byte of
>Python"
> my code wouldn't work either.
I have the latest python version too when I first started "A Byte of Python" my
code wouldn't work either. My problem was that I was programming in the shell
(the screen with the three '>>>' on it). I found when I wrote the examples in
a new window (cntrl+N) they all worked as advertized. He
So it looks like most folks here and on the web are saying too-ple (rhymes with
scruple or pupil... sorta). That's the one I'll go with... now that I can say
it it's time to get back to learning how to use em!
Please visit our website www.earlylightpublishing.com
-
Is it tuh-ple (rhymes with supple)
or is it two-ple (rhymes with nothing that I can think of)?
Please visit our website www.earlylightpublishing.com
-
Never miss a thing. Make Yahoo your homepage.___
Tutor
Thank you all so much for your patience and help! I haven't had a chance to
try any of the code yet (gotta go be a mommy first) :^) I look forward to
sitting down and playing around with it this evening though! I also finally
found a book that seems to fit my learning style well. Hopefully
Hello all,
I now have my bit of code in while loop form and it works! It's great but
not exactly what I wanted to do. I've been googling my heart out and I find
lots of info on while loops and lots of info on timers that will execute an
action AFTER a given interval but nothing on a time
Hello again to all the wonderfully helpful folks on this list. Today I did my
Google homework and I found this neat bit of code for a countdown timer.
import time
import threading
class Timer(threading.Thread):
def __init__(self, seconds):
self.runTime = seconds
threadin
Thank you everyone for your help! I have no idea why it never occured to me to
Google it. Thanks for the code. Now let's see if I can get this sucker to
work!
-
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Hello All,
I'm a bare beginner to python (or indeed) any programming. I'm helping
myself become more proficient by making a text adventure game. The problem is
I need a function (or module) that will generate a random number within a
range, say 1-20 for example. The ability to program t
15 matches
Mail list logo