view src/testdir/test_channel_write.py @ 33391:6d3260004323 v9.0.1954

patch 9.0.1954: CI: change netrw label in labeller bot Commit: https://github.com/vim/vim/commit/112431f21762bdcb3ee4ce2d7d8f91da07f3bf71 Author: Ken Takata <kentkt@csc.jp> Date: Fri Sep 29 19:48:09 2023 +0200 patch 9.0.1954: CI: change netrw label in labeller bot Problem: CI: change netrw label in labeller bot Solution: Rename it to 'plugin-netrw' closes: #13217 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
author Christian Brabandt <cb@256bit.org>
date Fri, 29 Sep 2023 20:00:05 +0200
parents 5cd9ba96561d
children
line wrap: on
line source

#!/usr/bin/python
#
# Program that writes a number to stdout repeatedly
#
# This requires Python 2.6 or later.

from __future__ import print_function
import sys
import time

if __name__ == "__main__":

    done = 0
    while done < 10:
        done = done + 1
        print(done)
        sys.stdout.flush()
        time.sleep(0.05)  # sleep 50 msec