view src/testdir/test_channel_write.py @ 27770:219471ed2fec v8.2.4411

patch 8.2.4411: bicep files are not recognized Commit: https://github.com/vim/vim/commit/8e5ba693ad9377fbf4b047093624248b81eac854 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Thu Feb 17 21:30:26 2022 +0000 patch 8.2.4411: bicep files are not recognized Problem: Bicep files are not recognized. Solution: Match *.bicep files. (Dundar Goc, closes https://github.com/vim/vim/issues/9791)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Feb 2022 22:45:03 +0100
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