attaching names to subexpressions

F.R. anthra.norell at bluewin.ch
Sun Oct 28 03:12:49 EDT 2012


On 10/28/2012 06:57 AM, Devin Jeanpierre wrote:
> line = function(x, y, z)
> >while line:
> >      do something with(line)
> >      line = function(x, y, z)


How about:

line = True
while line:
	line = function(x, y, z)
	do something with(line)

?

Frederic




More information about the Python-list mailing list