Re: Problem with list.remove() method

2012-11-20 Thread Alvaro Combo
Dear Chris, Thank you very much for you reply... For a newcomer to Python the Hell is in the details... :-). You are absolutely right... and I just used the index instead of the value. Regarding you other (most relevant) comments, I absolutely agree... BUT in those cases... I was aware :-). Bu

Problem with list.remove() method

2012-11-20 Thread Alvaro Combo
Hi All, I'm relatively new to Python... but I have found something I cannot explain... and I'm sure you can help me. I have the following function that serves for removing the duplicates from a list... It's a simple and (almost) trivial task. I'm using WingIDE as editor/debugger and have Pyth