Simple Tag Clouds
// simple tagclouds
import math
for t in tags:
print t.name, t.count, int(math.ceil(5 * math.log(t.count, math.e)))
Posted on 2009-01-02 14:11 | By: ferdhie | Tags: python | 0 Comments
// simple tagclouds
import math
for t in tags:
print t.name, t.count, int(math.ceil(5 * math.log(t.count, math.e)))
Embed Snippet:
0 Comments