[Tutor] Splitting lists with strings and integers
Mark Lawrence
breamoreboy at yahoo.co.uk
Wed Nov 27 19:48:50 CET 2013
On 27/11/2013 01:18, Dominik George wrote:
>>> for x in xrange(len(animal)):
>>> if animal[x].isdigit():
>>> animal[x] = int(animal[x])
>>>
>>
>> Before posting anything else would you please do a tutorial
>> yourself. The above for loop is appalling newbie code, I'll leave
>> you to post the Pythonic format.
>
> Can I trust my ears? Did you just make a move to expell me from posting
> newbie-readable code on a newbie-list :D?
>
> Believe me, I do not need a tutorial. Seriously not. Just in case you
> missed it, the pythonic code is a few lines above in my post.
>
> If that is not enough for you, start a private Python helpdesk with all
> your glory and remove me from the list.
>
> And in the future, please refrain from carpeting me on a public mailing
> list.
>
> Thanks!
>
Dominik,
I'm very sorry about the above, I really should know better than to post
at stupid o'clock in the morning when I'm already exhausted.
--
Python is the second best programming language in the world.
But the best has yet to be invented. Christian Tismer
Mark Lawrence
More information about the Tutor
mailing list