3 ms·
> I thought this might provide a utility for generating random numbers, but sadly it's just a benchmarking suite with no additional command-line options: I had
by NoboruWataya 3y ago
> I thought this might provide a utility for generating random numbers, but sadly it's just a benchmarking suite with no additional command-line options:
I had the same experience with the tkinter ones - I thought they might be like zenity, a way to build simple UI elements from the command line. But they mostly just show simple non-configurable test widgets. The colour chooser could be helpful though.
- TelonAlex 3y agoThe cli tool [fire](https://github.com/google/python-fire/blob/master/docs/guide.md https://github.com/google/python-fire/blob/master/docs/guide...) has a nifty feature where it can generate a cli for any file for you. So random and math are somewhat usable that way $ python -m fire random uniform 0 1 0.5502786602920726 $ python -m fire math radians 180 3.141592653589793 $ python -m fire math e 2.718281828459045 Just running $ python -m fire random will give you a nice "manpage" for your module as well.