These are chat archives for spyder-ide/public

Jul 2017
Makarov Andrey
Jul 01 2017 09:54
    import sys
    print('start', flush=True, end='')
    print('error', file=sys.stderr)
is it possible to print these lines in the right order? If i run in command line it is start-error-fail, but in Spyder it is start-fail-error
Makarov Andrey
Jul 01 2017 10:04
time.sleep(0.01) after print to stderr helps, but i don't think it's reliable