Read input from redirected stdin with python

后端 未结 3 836
礼貌的吻别
礼貌的吻别 2021-02-06 09:45

I have this loop that reads lines from stdin until a newline is entered, however, this only works from typing in the input. How do I get the program to read lines from a redirec

3条回答
提交回复
热议问题