Say I do something like this:
vList=[1236745404]
fList=[ "<td>{}</td>".format ]
[ f(x) for f, x in zip(fList, vList) ]
But now I want to convert the integer into a time string by feeding it into a multiple process stream.
Pseudocode:
fList=[ "<td>{}</td>".format(time.strftime("%a %H:%M %d %b %y", time.localtime())) ]
[ f(x) for f, x in zip(fList, vList) ]
And what I want to see is:
['<td>Tue 22:23 10 Mar 09</td>']
Is the List Comprehension variable input limited to one operation, or can the output be passed downstream?