I have a small Python file from a third-party package with
$ cat a.py
a = 3.14
I would now like to make the value of a
available on the command line. I initially thought that I just grep
/sed
/awk
my way out of this, but perhaps there's a more pythonic approach.
Any hints?