I'm trying to implement a basic user controlled sliding box with
pygame. I have everything worked out, except for two things.
The acceleration is changed once a second (for meters/second) this
leads to very jumpy movement. I need to add a way to check how long it
takes the program to loop and mult
>
> > Thanks. That makes sense. It helps a lot. Although, you spelled color
> > wrong :P.
>
> At this time of day you are likely to find yourself communicating with
> Australians. Get used to it :-)
>
> Cheers,
> John
I was kidding. IMO, we Americans should spell color like everyone
else. Heck, us
On Jan 11, 2:20 pm, Steven D'Aprano wrote:
> On Sun, 11 Jan 2009 14:06:22 -0800, killsto wrote:
> > I have a class called ball. The members are things like position, size,
> > active. So each ball is an object.
>
> > How do I make the object without specifically sayin
I have a class called ball. The members are things like position,
size, active. So each ball is an object.
How do I make the object without specifically saying ball1 = ball()?
Because I don't know how many balls I want; each time it is different.
The balls are to be thrown in from the outside of
The documentation says I can find attributes of tags by using it as a
dictionary. Ex:
product = p.findAll('dd')
print product['id']
However, when I try that python thinks I am slicing it. When I print
product, it works but is a list. I am pretty sure I have the latest
version.
Any ideas?
Refere