Mercurial > vim
view src/testdir/test_channel_write.py @ 20447:4fdc8319ab24
Update feature_request.md
Commit: https://github.com/vim/vim/commit/ed37d9b3241abe7c302c7ac606df80037aecdb46
Author: Bram Moolenaar <bram@moolenaar.net>
Date: Sun May 17 15:17:26 2020 +0200
Update feature_request.md
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 May 2020 15:30:04 +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