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
python_stdin [2023/05/15 22:48] – created adminpython_stdin [2023/05/15 22:50] (current) 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
 +  * Used this technique to answer https://unix.stackexchange.com/questions/743855/convert-only-all-uppercase-lines-to-lower-case
 +
  
python_stdin.1684190913.txt.gz · Last modified: 2023/05/15 22:48 by admin