These are chat archives for spyder-ide/public

1st
Jul 2017
Makarov Andrey
@Winand
Jul 01 2017 09:54
    import sys
    print('start', flush=True, end='')
    print('error', file=sys.stderr)
    print('fail')
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
@Winand
Jul 01 2017 10:04
time.sleep(0.01) after print to stderr helps, but i don't think it's reliable