python_cli
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python_cli [2021/02/11 02:19] – 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 ==== | ==== sql string in clause ==== | ||
Line 10: | Line 26: | ||
python -c " | python -c " | ||
</ | </ | ||
+ |
python_cli.1613009998.txt.gz · Last modified: 2021/02/11 02:19 by raju