stderr writting before stdout
Also this code maintains order i.e. writting is displayed before no errors.
Why is that?
sys.stderr.write("No errors \n")
On Sun, 24 May, 2020, 9:57 am Souvik Dutta, <souvik.viksou at gmail.com> wrote:
> Is there any precedence or priority order by which sys.stderr.write() and
> sys.stdout.write() works. Because when running the below code...
> import sys
> sys.stderr.write("No errors \n")
> No errors is written (displayed) first and writting is written later. Why
> does this happen?