Re: Continually check object status

2008-08-02 Thread Diez B. Roggisch
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

RE: Continually check object status

2008-08-02 Thread Edwin . Madari
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

Re: Continually check object status

2008-08-02 Thread [EMAIL PROTECTED]
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__(

Re: Continually check object status

2008-08-02 Thread [EMAIL PROTECTED]
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):

Re: Continually check object status

2008-08-02 Thread Diez B. Roggisch
[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):

Re: Continually check object status

2008-08-02 Thread Gary Herron
[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):

Continually check object status

2008-08-02 Thread [EMAIL PROTECTED]
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