On Fri, 07 Nov 2014 21:22:22 +0630, Veek M wrote:
> Veek M wrote:
>
>
>> new_col = self.b[row].index('def') self.w.cursor = row,
>> new_col
>
>> new_col = self.b[row].rindex('def')
>> self.w.cursor = row, new_col
>
> There's also the different methods index vs rindex.
yes, those fall under point 2 of my earlier post. "something" and
"something else" would be the complete means of calculating the value to
assign to variable.
--
Denis McMahon, [email protected]
--
https://mail.python.org/mailman/listinfo/python-list