Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: get each pair from a string.

Thread Tools

Re: get each pair from a string.

Emile van Sebille
Posts: n/a
On 10/21/2012 9:19 PM, Ian Foote wrote:
> On 22/10/12 09:03, Emile van Sebille wrote:
>> So, as OP's a self confessed newbie asking about slicing, why provide an
>> example requiring knowledge of tee, enumerate, next and izip?

> Because not only the newbie will read the thread? I for one was
> interested to see all the different possible approaches, and their
> upsides and downsides.

Fair -- I get concerned that newcomers are faced with a much higher cost
of entry when answers to their apparently simple problems require
knowledge of specific functions in specific library modules to solve.

This presents a very high bar as my quick local test (help(); modules)
shows 398 modules!

In this case the only requirement should have been a quick pass through
the tutorial which should be enough to solve most problems.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: get each pair from a string. Emile van Sebille Python 9 10-24-2012 12:14 PM
Re: get each pair from a string. Mark Lawrence Python 0 10-21-2012 07:05 PM
Re: get each pair from a string. Ian Kelly Python 0 10-21-2012 06:51 PM