I wanted to find a good example of re-usable code on Stackoverflow and what looked like a promising answer set failed- console input validation...
so I wrote a blog post about it.
https://buildinginpython.blogspot.com/2022/05/stackoverflow-answers-miss-mark-cli.html♡ 1 ↻ 0click, prompt and prompt-toolkit (libraries in pypi) are all better options than the off the cuff code people wrote. At best in that case SO was educational, not a source of quickly re-usable code.
♡ 1 ↻ 0