> Thanks. I think what I actually want to learn is design pattern in a
> looser sense, not in the computer-science-vocabulary-sense.
>
> I'm a graduate student in science, and python is my favourite programming
> language in daily work. I can solve most of the problems with python, but
> my program
Wildemar Wildenburger wrote:
> [EMAIL PROTECTED] wrote:
>
>> Thanks a lot for all kind replies!
>>
>> I think I need a systematic learning of design patterns. I have found
>> some tutorials
>> about design pattern about python, but can somebody point me which is
>> the best to start with ?
>>
[EMAIL PROTECTED] wrote:
> Thanks a lot for all kind replies!
>
> I think I need a systematic learning of design patterns. I have found
> some tutorials
> about design pattern about python, but can somebody point me which is
> the best to start with ?
>
When you say "Design Patterns", what do
Arvind Singh wrote:
> On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> which is the better way to calculate the value of attributes of a
>> class ?
>> for example:
>>
>> (A)
>> def cal_attr(self, args):
>> #do some calculations
>> self.attr = calculated_value
>> and
On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> which is the better way to calculate the value of attributes of a class ?
> for example:
>
> (A)
> def cal_attr(self, args):
> #do some calculations
> self.attr = calculated_value
> and then if the vlue of attribute is
[EMAIL PROTECTED] wrote:
> (1)
> which is the better way to calculate the value of attributes of a class ?
> for example:
>
> (A)
>def cal_attr(self, args):
>#do some calculations
>self.attr = calculated_value
> and then if the vlue of attribute is needed,
>self.cal_attr(a
On 2007-05-20, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi all, I'm not skilled at programming, so sorry for my ignorance.
> My questions:
>
> (1)
> which is the better way to calculate the value of attributes of a class ?
> for example:
>
> (A)
> def cal_attr(self, args):
> #do
[EMAIL PROTECTED] wrote:
> Hi all, I'm not skilled at programming, so sorry for my ignorance.
?!
Seems you met many not-so-nice programmers.
> (1)
> which is the better way to calculate the value of attributes of a
> class ? for example:
>
> (A)
> def cal_attr(self, args):
> #do s
Hi all, I'm not skilled at programming, so sorry for my ignorance.
My questions:
(1)
which is the better way to calculate the value of attributes of a class ?
for example:
(A)
def cal_attr(self, args):
#do some calculations
self.attr = calculated_value
and then if the vlue of