Re: Learner looking for assistance

2014-04-15 Thread Anthony Smith
On Tuesday, 15 April 2014 18:29:27 UTC+10, Steven D'Aprano wrote: > On Mon, 14 Apr 2014 00:43:41 -0700, Anthony Smith wrote: > > > > > > > the calc_total does not return a estimated_total_weight > > > > That's because you don'

Re: Learner looking for assistance

2014-04-15 Thread Anthony Smith
On Monday, 14 April 2014 17:43:41 UTC+10, Anthony Smith wrote: > Hi All > > > > I am probably doing something wrong but don't know what > > Any help would great > > > > Code below > > > > the calc_total does not ret

Re: Learner looking for assistance

2014-04-14 Thread Anthony Smith
On Monday, 14 April 2014 17:43:41 UTC+10, Anthony Smith wrote: > Hi All > > > > I am probably doing something wrong but don't know what > > Any help would great > > > > Code below > > > > the calc_total does not ret

Learner looking for assistance

2014-04-14 Thread Anthony Smith
Hi All I am probably doing something wrong but don't know what Any help would great Code below the calc_total does not return a estimated_total_weight if add the estimated_total_weight the rest of the code works I am at a lose as to why ? def calc_total(self): amount = 0

If statement issue driving me nuts

2014-04-05 Thread Anthony Smith
Hi I have a small project and I have been unable to get the following statement to work. Any help would great. User inputs can either self_sale_head which is a $ value,if a $ value is not add a self.estimated_weight_hd is used to get the total weight, the code below should return a estimated_we