Difficult-Rocket/try/sysstd.py
2022-01-19 20:21:57 +08:00

22 lines
388 B
Python

# -------------------------------
# Difficult Rocket
# Copyright © 2021 by shenjackyuanjie
# All rights reserved
# -------------------------------
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
import sys
with sys.stdout as f:
print('aaaaa', file=f, flush=True)
with sys.__stdout__ as f:
print(f.readlines())