On Apr 12, 4:20 am, "7stud" <[EMAIL PROTECTED]> wrote: > I can't break out of the for loop in this example: > > ------ > import sys > > lst = [] > for line in sys.stdin: > lst.append(line) > break > > print lst > -----------
You may want to look at a related issue: http://www.python.org/sf/1633941 Thanks, Raghu. -- http://mail.python.org/mailman/listinfo/python-list