python_cli
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python_cli [2021/02/05 23:32] – created raju | python_cli [2021/02/28 06:27] (current) – [sort lines by length] raju | ||
---|---|---|---|
Line 4: | Line 4: | ||
python -c " | python -c " | ||
</ | </ | ||
+ | |||
+ | ==== sort lines by length ==== | ||
+ | < | ||
+ | import fileinput | ||
+ | print("" | ||
+ | </ | ||
+ | |||
+ | On the command line: | ||
+ | < | ||
+ | % cat random_snippets.txt | python -c ' | ||
+ | </ | ||
+ | |||
+ | Ref:- https:// | ||
+ | |||
+ | See also: | ||
+ | * https:// | ||
+ | |||
+ | ==== sql string in clause ==== | ||
+ | < | ||
+ | cat junk3.txt | \ | ||
+ | python -c " | ||
+ | </ | ||
+ |
python_cli.1612567952.txt.gz · Last modified: 2021/02/05 23:32 by raju