|Code Listing by Danny Yoo|
Provides a mergeiter() function that can merge two iterators into a single iterator. Uses generators, and guarantees constant memory use.
This piece of code takes in two infinite sequences, and, with the help of a cute math function, can cross these two together into another infinite sequence. (This is related to the diagonalization proof that the rationals are countable.) It...
A small utility class to read single characters from standard input, on both Windows and UNIX systems. It provides a getch() function-like instance.
The str() in the standard library behaves in a slightly weird way when applied against lists: on each element of the list, the repr() is appended. In contrast, this module provides a deep_str() that deeply applies str() across lists.
permIter() takes a sequence and returns an iterator that goes through all possible permutations of that sequence.
An easy First-In-First-Out queue class based on Python's List data structure.
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.