Created
July 9, 2013 06:31
-
-
Save tukiyo/5955138 to your computer and use it in GitHub Desktop.
catでテキストファイルを作る ref: http://qiita.com/tukiyo@github/items/5ff17fc98e5cd17a0451
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
for num, i in enumerate(range(100)): | |
sys.stdout.write("\r%d" % num) | |
sys.stdout.flush() | |
time.sleep(0.01) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat > a.py | |
ここに貼り付け | |
control-d で終了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment