Re: New User-Need-Help

2013-02-15 Thread Bob Brusa
print uses the new syntax e.g. print("example") in 3.r Sent from my BlackBerry® wireless device -Original Message- From: Deborah Piotrowski Date: Fri, 15 Feb 2013 16:08:17 To: Bob Brusa Cc: Joel Goldstick; python-list@python.org Subject: Re: New User-Need-Help print "G

Re: New User-Need-Help

2013-02-15 Thread Bob Brusa
Am Freitag, 15. Februar 2013 schrieb Joel Goldstick : > > > > On Fri, Feb 15, 2013 at 4:45 PM, Deborah Piotrowski < > spiceninj...@gmail.com 'spiceninj...@gmail.com');>> wrote: > >> Hi, >> >> >> I am very new to Python, I am using the e-book "Python Programming for >> the Absolute Beginner" and a

Re: python math problem

2013-02-15 Thread Bob Brusa
Am 15.02.2013 20:39, schrieb Kene Meniru: I am trying to calculate the coordinates at the end of a line. The length and angle of the line are given and I am using the following formula: x = (math.sin(math.radians(angle)) * length) y = (math.cos(math.radians(angle)) * length) The following are s

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 19:06, schrieb Dave Angel: On 02/15/2013 12:50 PM, Bob Brusa wrote: Am 15.02.2013 18:06, schrieb Thomas Rachel: Am 15.02.2013 17:59 schrieb Bob Brusa: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 19:03, schrieb Dave Angel: On 02/15/2013 12:23 PM, Bob Brusa wrote: Am 15.02.2013 18:11, schrieb Dave Angel: On 02/15/2013 11:59 AM, Bob Brusa wrote: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 18:06, schrieb Thomas Rachel: Am 15.02.2013 17:59 schrieb Bob Brusa: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this module - and in my class I would like to initialize a few things, using e. g. the

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 18:11, schrieb Dave Angel: On 02/15/2013 11:59 AM, Bob Brusa wrote: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this module - and in my class I would like to initialize a few things, using e. g. the

inheritance and how to use it

2013-02-15 Thread Bob Brusa
Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this module - and in my class I would like to initialize a few things, using e. g. the method clear() offered by SerialInstrument. Hence I type: