A Summary: Expression-Assignments. (Very Long)

evil Japh jeffp at crusoe.net
Wed May 12 16:28:19 EDT 1999


> > while 1:
> > line=sys.stdin.readline()
> > and while line:
> > sys.stdout.write(line)

But to me, this appears to cause an infinite loop upon the first non-empty
line...
while COND:
	BODY

means "while that condition is true, do the code listed".

-- 
Jeff Pinyan (jeffp at crusoe.net)
www.crusoe.net/~jeffp

Crusoe Communications, Inc.
732-728-9800
www.crusoe.net





More information about the Python-list mailing list