Public feed #379162

Unnamed

public python v1 · immutable
Raw Edit
·published 2007-03-03 00:41 UTC
rendered paste body
from cStringIO import StringIO# is this the fastest way to read in $quantity lines from a file?deliverable = StringIO()deliverable.writelines( (data.readline() for i in  xrange(quantity)) )