Loop over and descend into sequences

Loop over and descend into sequences

Loop over and descend into sequences Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 352
  • Released: Feb 16, 2007

Loop over and descend into sequences Description

This is a function to iterate over a container and its elements that checks for recursive traps. The condition for descending into elements is highly configurable (a list of type() results, or a callable).

Loop over and descend into sequences Bookmark

Hyperlink code:
Hyperlink for Forum code:

Loop over and descend into sequences Script Download Notice

Top 4 Download periodically updates information of Loop over and descend into sequences script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Loop over and descend into sequences torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Merge sorted sequences

The usual approach to merging is to loop through both sequences taking the smallest from each until they are ... exhausted. Python's "timsort" function detects order in underlying sequences and will run a C speed merge on the ... So, all that is involved is concatenating the sequences and running a sort. ...
Python

Permutation

This script contains a small but efficient recursive function for printing the permutation of characters in a given string. ...
Python

New Tail Recursion Decorator

This tail recursion decorator can eliminate the tail calls for recursive functions. ...
Python

Graph Script

This script allows you to create a directed Graph container that can be useful for the collections module. ... implementations are possible, but this is flexible, fast and simple enough. ...
Python

A generator for any number of for loop

... a number of nice methods to handle 'for' loops. However, the situation often arises where you have a large number of nested loops. This script allows you to reduces the number of loops to one. ...
Python