User Tools

Site Tools


python_stdin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
python_stdin [2023/05/15 22:48] – created adminpython_stdin [2023/05/15 22:49] admin
Line 1: Line 1:
-==== read lines from stdin ====+==== read from stdin ==== 
 +tags | read lines from stdin
 <code> <code>
 $ cat count_lines.py $ cat count_lines.py
Line 11: Line 12:
 Counted 3 lines. Counted 3 lines.
 </code> </code>
 +
 +Ref:- https://stackoverflow.com/a/1450396
  
python_stdin.txt · Last modified: 2023/05/15 22:50 by admin