FAST AOL Contact List Grabber and Invitation System
This is one of the most demanded modules for especially dating websites and web portals. User can login to AOL directly from your website and then his AOL Contact List will be...
Advertisement
What if you had a list like this: [1, -10, [1,2,[3,4]], xrange(200)], and you just wanted to go through each element in order (wanted it to return a simple list of [1,-10,1,2,3,4,1,2,3,4...199])
I've seen a couple of attempts to flatten...
This code lets you retrieve multiple elements from a list at one time
This recipe returns a list of size n such that the contents of the returned list are random 0s and 1s. It returns a random binary list of size n.
This algorithm searches for more than one element in a list. The input is a list that you want to search through and a list of elements that you want to search for. The output is a multidimensional list with the positions of the elements you are...
This module/function lets you find a 2 dimensional list of indices for elements you are looking for in a super list. Example:
find([1,1,1,2,1,2,3,3],[1,2,3])
returns: [[0, 1, 2, 4], [3, 5], [6, 7]]
Return a list from a ConfigParser option. By default, split on a comma and strip whitespaces.
Given an arbitrary list (of length >= 1) of positive integers, return the greatest common divisor (gcd) of the list.
Linked list implementation based on Python 2.7 collections.MutableSequence with a few benchmarks comparing the linked list with the built-in list type.
This function takes a range in form of "a-b" and generate a list of numbers between a and b inclusive. Also accepts comma separated ranges like "a-b,c-d,f" will build a list which will include numbers from a to b, a to d... |