itfeat
Project description
sample
code:
from apcase import ap
data = [
[1, 2, 3],
[4, 5, 6]
]
print(ap.allpairs(data))
result:
[(1, 4), (1, 5), (1, 6), (2, 4), (2, 5), (2, 6), (3, 4), (3, 5), (3, 6)]
code:
from apcase import ap
data = [
[1, 2, 3],
[4, 5, 6]
]
for a, b in ap.allpairs(data):
print("a=%s&b=%s" % (a, b))
result:
a=1&b=4
a=1&b=5
a=1&b=6
a=2&b=4
a=2&b=5
a=2&b=6
a=3&b=4
a=3&b=5
a=3&b=6
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apcase-0.0.4.tar.gz
(1.5 kB
view hashes)