python print truncated code example Example: numpy print full array to srdout numpy.savetxt(sys.stdout, numpy.arange(10000))