Re: [Tutor] please help me!

2007-04-12 Thread Ben Sherman
You On 4/12/07, suryo agung <[EMAIL PROTECTED]> wrote: > pleate tell me how to make > > input number=4 > result > > 1 > 22 > 333 > > > in python > please give me your answer. input_number = 4 for i in range(1,input_number + 1): print str(i) * i If this is homework, please tell your teach

Re: [Tutor] please help me!

2007-04-12 Thread Kent Johnson
suryo agung wrote: > pleate tell me how to make > > input number=4 > result > > 1 > 22 > 333 > > > in python > please give me your answer. This looks a lot like homework to me. What have you tried? What have you learned? Kent ___ Tutor maillist

[Tutor] please help me!

2007-04-12 Thread suryo agung
pleate tell me how to make input number=4 result 1 22 333 in python please give me your answer. ___ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Some questions.

2007-04-12 Thread Alan Gauld
> Hello my name is lamonte and I'm interesting in getting > better @ python so I guess this is the correct place Welcome, and you are right, this is the place for learning! :-) > One question is whats the best GUI library to build from? That depends a lot on what you want to do and what your

[Tutor] Some questions.

2007-04-12 Thread python
Hello my name is lamonte and I'm interesting in getting better @ python so I guess this is the correct place then :). One question is whats the best GUI library to build from? Anyone recommend any good tutorials that helped them get good @ learning python? I know some decent basics and soon to t

Re: [Tutor] Calling private base class methods

2007-04-12 Thread Alan Gauld
"Jorgen Bodde" <[EMAIL PROTECTED]> wrote class A(object): > ... def __baseMethod(self): > ... print 'Test' > > Deriving from A, and doing; > class D(A): > ... def someMethod(self): > ... super(A, self).__baseMethod() > ... print 'test3' > > Will not work; > Is it possible to call a pri

Re: [Tutor] Calling private base class methods

2007-04-12 Thread Andreas Kostyrka
* Jorgen Bodde <[EMAIL PROTECTED]> [070412 10:57]: > Hi All, > > Now that I am really diving into Python, I encounter a lot of things > that us newbies find difficult to get right. I thought I understood > how super() worked, but with 'private' members it does not seem to > work. For example; Rena

[Tutor] Calling private base class methods

2007-04-12 Thread Jorgen Bodde
Hi All, Now that I am really diving into Python, I encounter a lot of things that us newbies find difficult to get right. I thought I understood how super() worked, but with 'private' members it does not seem to work. For example; >>> class A(object): ... def __baseMethod(self): ...