Re: [Tutor] Proper uses of classes

2013-04-05 Thread Dave Angel
On 04/04/2013 01:01 PM, frank ernest wrote: Sorry about the indentation guys my mail service atomatically removed it when I pasted the text (I tried to fix it by hand but it was hard to tell if I was sucessful.) I was tring to create a list object (self) and change it using the list methods an

Re: [Tutor] Proper uses of classes

2013-04-05 Thread Mark Lawrence
On 04/04/2013 18:01, frank ernest wrote: Sorry about the indentation guys my mail service atomatically removed it when I pasted the text (I tried to fix it by hand but it was hard to tell if I was sucessful.) I was tring to create a list object (self) and change it using the list methods and som

Re: [Tutor] Proper uses of classes

2013-04-04 Thread frank ernest
Sorry about the indentation guys my mail service atomatically removed it when I pasted the text (I tried to fix it by hand but it was hard to tell if I was sucessful.) I was tring to create a list object (self) and change it using the list methods and some additional ones I will define in my cla

Re: [Tutor] Proper uses of classes

2013-04-03 Thread Alan Gauld
On 03/04/13 20:43, frank ernest wrote: Hi guys, it's been a while since I posted and I've learned a lot since then. Today I have a question on classes, I can't get mine to work. Dave has already addressed many issues but there are a few more to consider class alist(list): def __init__(s

Re: [Tutor] Proper uses of classes

2013-04-03 Thread Dave Angel
On 04/03/2013 03:43 PM, frank ernest wrote: Hi guys, it's been a while since I posted and I've learned a lot since then. Today I have a question on classes, I can't get mine to work. Welcome back. I'll try. First comment is that indentation ought to be 4 columns, until you have enough exper