python_cli
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
python_cli [2021/02/05 23:32] – created raju | python_cli [2021/02/28 05:52] – 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:// | ||
+ | |||
+ | ==== sql string in clause ==== | ||
+ | < | ||
+ | cat junk3.txt | \ | ||
+ | python -c " | ||
+ | </ | ||
+ |
python_cli.txt · Last modified: 2021/02/28 06:27 by raju