The Nitty Gritty: from rpy import * import csv import sys import string from PIL import Image import numpy f=open("tmp/z709a-full-serial-24hr.csv","r") lns = f.readlines() f.close() rdr = csv.reader(lns, delimiter='\t') rx = [x for x in rdr] recs=[[int(y) for y in x[2:-1]] for x in rx if x[0][:3] == '124'] nil=[sys.stdout.write(rx[i][1] + " " + str(foo[i])+"\n") for i in range(0, len(foo))] mrecs=matrix(recs) cl = r.kmeans(mrecs, 3) foo=[[cl['cluster'][i]] + [z for z in mrecs[i].tolist()[0]] for i in range(0, len(mrecs))] cmap=[255, 0, 128] cline=[[cmap[x[0]-1]]*50 for x in foo] cm=numpy.array(cline,dtype='uint8') # Display image Image.fromarray(cm).show()
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.
For a long time I’ve wanted to capture radio shows on public radio and play them back on the iPod. This article describes the process of using the RadioShark to get the content and then describes how to make the content a podcast that can be added you y