Re: Setting up a class

2012-09-06 Thread Colin J. Williams
On 06/09/2012 8:20 AM, MRAB wrote: On 06/09/2012 13:00, shaun wrote: Hi all, So I'm trying to to OO a script which is currently in place on work. It connects to the database and makes multiple strings and sends them to a server. But I'm having major problems since I am new to python I keep try

Re: Setting up a class

2012-09-06 Thread Dave Angel
On 09/06/2012 08:00 AM, shaun wrote: > Hi all, > > So I'm trying to to OO a script which is currently in place on work. It > connects to the database and makes multiple strings and sends them to a > server. > > But I'm having major problems since I am new to python I keep trying to do it > as I

Re: Setting up a class

2012-09-06 Thread MRAB
On 06/09/2012 13:00, shaun wrote: Hi all, So I'm trying to to OO a script which is currently in place on work. It connects to the database and makes multiple strings and sends them to a server. But I'm having major problems since I am new to python I keep trying to do it as I would do it in J

Re: Setting up a class

2012-09-06 Thread Joel Goldstick
On Thu, Sep 6, 2012 at 8:00 AM, shaun wrote: > Hi all, > > So I'm trying to to OO a script which is currently in place on work. It > connects to the database and makes multiple strings and sends them to a > server. > > But I'm having major problems since I am new to python I keep trying to do it

Setting up a class

2012-09-06 Thread shaun
Hi all, So I'm trying to to OO a script which is currently in place on work. It connects to the database and makes multiple strings and sends them to a server. But I'm having major problems since I am new to python I keep trying to do it as I would do it in Java but classes seem to be very diff