Hi shady, this is how you do it..

while True:
  try:
    x = input()
  except EOFError:
    break

On Fri, Nov 18, 2011 at 4:26 PM, shady <[email protected]> wrote:

> Can anyone tell how to read till the end of file in python language ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
*Krishna Bharadwaj*
*www.krishnabharadwaj.info |
@krishbharadwaj<http://www.twitter.com/krishbharadwaj>
*

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to