Fastest I/O on Python ?

emile emile at
Tue Jul 22 18:18:06 CEST 2014

On 07/22/2014 09:06 AM, Orochi wrote:
> Is there in any other input/output faster than ("raw_input","input" / "print")

The limitation is with the device -- either the human typing in 
responses or the output device rendering the output.  If you have the 
option to read/write to disk that'd open up additional options.

Otherwise I'm not sure there's much to be gained.


> As I am trying to solve competitive Programs on using python i was wondering if there is any other way to print and scan the inputs fast.
> I have seen other people codes and there are using sys library(stdin and stdout) for I/O.
> So I was thinking is there any other way to take input/output besides using 'sys library'.
> And also I had doubt about what is the difference between (raw_input,input/print) and (stdin/stdout)
> Thank You.....

More information about the Python-list mailing list