Re: [Tutor] Cannot understand object initiation

2013-10-14 Thread Kush Goyal
Hi, Thanks a lot Bob and Allan for the help. I tried experimenting with classes and objects on python interpretor and learned that in python functions, classes, method, objects and modules all can be passed around and returned. From what I understood from your answers: user =

[Tutor] Fwd: we need assistance in my school

2013-10-14 Thread Okechukwu Nkaronye
-- Forwarded message -- From: Okechukwu Nkaronye okero...@gmail.com Date: Fri, 11 Oct 2013 13:04:10 + Subject: we need assistance in my school To: sanomat@formin.fi, off...@ise.edu.ee, supp...@edline.com, cont...@thebaudieves.org, cont...@thebaudieres.org Hi my name is

Re: [Tutor] Cannot understand object initiation

2013-10-14 Thread ALAN GAULD
I tried experimenting with classes and objects on python interpretor and learned that in python functions, classes, method, objects and modules all can be passed around and returned.That's correct, they are all objects in Python From what I understood from your answers: user =

Re: [Tutor] Fwd: we need assistance in my school

2013-10-14 Thread Alan Gauld
On 14/10/13 11:54, Okechukwu Nkaronye wrote: Hi my name is okechukwu . I teaches computer at a low grade of 8, 9, 10, 12 years ages . Please I would be pleased if you could assist us in helping our children to get to know programming skills I am not very vast in programming and know little in

Re: [Tutor] Cannot understand object initiation

2013-10-14 Thread Chris “Kwpolska” Warrick
On Mon, Oct 14, 2013 at 3:27 PM, Kush Goyal kushgoyal...@gmail.com wrote: Also, db is an sqlalchemy engine and db.Model is a class. db.Model is I think a sqlalchemy declarative base class which has all the needed methods and classes for database handling. So, did I get the above things

[Tutor] Fw: Fwd: we need assistance in my school

2013-10-14 Thread bharath ks
this is interesting .. i would like to contribute and i am living in germany   Thanks BR, Bharath Shetty On Monday, 14 October 2013 3:49 PM, Alan Gauld alan.ga...@btinternet.com wrote: On 14/10/13 11:54, Okechukwu Nkaronye wrote: Hi my name is okechukwu . I teaches computer at a low

[Tutor] Compare function!

2013-10-14 Thread Sammy Cornet
Hello!I´m using Idle (Python 2.7,5 version). I´m trying to write a program of compare function that returns 1 if a b , 0 if a == b , and -1 if a b . In which I´m want to get the user to prompt for the values of a and b. For some reason I can´t run it. The follwing is what I have written on

Re: [Tutor] Fw: Fwd: we need assistance in my school

2013-10-14 Thread Alan Gauld
On 14/10/13 15:16, bharath ks wrote: this is interesting .. i would like to contribute and i am living in germany Where you live shouldn't be an issue. Join the SIG by getting involved. The links are all on the SIG web pages. -- Alan G Author of the Learn to Program web site

Re: [Tutor] Fwd: we need assistance in my school

2013-10-14 Thread brian arb
This looks like a very fun way to teach programming at an early age http://scratch.mit.edu/ On Mon, Oct 14, 2013 at 6:54 AM, Okechukwu Nkaronye okero...@gmail.comwrote: -- Forwarded message -- From: Okechukwu Nkaronye okero...@gmail.com Date: Fri, 11 Oct 2013 13:04:10 +

Re: [Tutor] Compare function!

2013-10-14 Thread Alan Gauld
On 14/10/13 15:41, Sammy Cornet wrote: . In which I´m want to get the user to prompt for the values of a and b. So where is the code where you prompt the user and read input. All we can see is a single function? For some reason I can´t run it. The follwing is what I have written on my