serhii.net

In the middle of the desert you can say anything you want

02 Dec 2020

Day 702

Python ast literal_eval

literal_eval - ast - Python documentation - Kite

Safely evaluates Python expressions, nice to use for input.

may only consist of the following Python literal structures: strings, numbers, tuples, lists, dicts, booleans, and None.

jq colours

To pipe output with jq to for example less preserving the colours, use -C. (Simialar to --color=always etc.)

jq . $filename -C | less

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus