如何在指定条件下打印文件中的一行,例如,如果一行中有 251212,我如何让我的程序只打印该特定行。感谢您的帮助,谢谢。
python file line display
display ×1
file ×1
line ×1
python ×1