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/07 16:19] – raju | python_cli [2021/02/28 06:27] (current) – [sort lines by length] raju | ||
---|---|---|---|
Line 3: | Line 3: | ||
get_column_names.py $filename | grep -i coupon | \ | get_column_names.py $filename | grep -i coupon | \ | ||
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.1612714778.txt.gz · Last modified: 2021/02/07 16:19 by raju