Compleated Begginers Guide. Now What?

Martin Christensen martin.sand.christensen at gmail.com
Sat Apr 8 11:04:54 EDT 2006


>>>>> "Jay" == Jay  <first180 at gmail.com> writes:

Jay> when i seperate things up into classes i carnt get one class to
Jay> tell the other class somthing. it just opens another coppy of the
Jay> class. i am confused.

I'm sorry, it's very difficult to understand what you mean. You'll
have to be a lot more precise, and it would probably help if you
posted code examples and tell us what you expect from the code you're
making.

Jay> oh and i carnt fathem out how to run to loops at the same time.
Jay> EG . Ball Blaster i wanted to permenetly run the ball with a loop
Jay> well my main loop ran the bat.

Erm... it _could_ sound as if you're looking for multi-threading, i.e.
running several things at the same time. This, however, is pretty
difficult, especially for a beginner. Maybe you should try to
structure your program differently so that you only need one thread of
execution. Then you can proceed to multi-threading when you have more
experience.

Martin



More information about the Python-list mailing list