I was afraid that someone was going to mention threading. I have read
about it before but not been able to do much with it.
My ultimate goal is to create some sort of tamagotchi style virtual
pet to interact with. Over time it gets hungry or bored, but the
process can be fixed by a user "feed
ar with GUI as well
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Saturday, August 02, 2008 1:54 PM
To: python-list@python.org
Subject: Re: Continually check object status
On Aug 2, 1:05 pm, "Diez B. Roggisch" <[EMAIL PROT
On Aug 2, 1:05 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
>
>
> > Beginner, so please bare with me. I'm not sure what to call what it
> > is I'm looking for.
>
> > If I have an object class, let's call it "Creature":
>
> > class Creature:
> > def __init__(
On Aug 2, 12:58 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Beginner, so please bare with me. I'm not sure what to call what it
> > is I'm looking for.
>
> > If I have an object class, let's call it "Creature":
>
> > class Creature:
> > def __init__(self, status):
[EMAIL PROTECTED] schrieb:
Beginner, so please bare with me. I'm not sure what to call what it
is I'm looking for.
If I have an object class, let's call it "Creature":
class Creature:
def __init__(self, status):
self.status = "happy"
def change_status(self, new_status):
[EMAIL PROTECTED] wrote:
Beginner, so please bare with me. I'm not sure what to call what it
is I'm looking for.
If I have an object class, let's call it "Creature":
class Creature:
def __init__(self, status):
self.status = "happy"
def change_status(self, new_status):
Beginner, so please bare with me. I'm not sure what to call what it
is I'm looking for.
If I have an object class, let's call it "Creature":
class Creature:
def __init__(self, status):
self.status = "happy"
def change_status(self, new_status):
self.status = new_status