learnbyexample@programming.dev to Python@programming.devEnglish · 1 year agoCLI tools hidden in the Python standard librarytil.simonwillison.netexternal-linkmessage-square12fedilinkarrow-up11arrow-down10cross-posted to: python_dev@lemmy.pastwind.toppython@partizle.com
arrow-up11arrow-down1external-linkCLI tools hidden in the Python standard librarytil.simonwillison.netlearnbyexample@programming.dev to Python@programming.devEnglish · 1 year agomessage-square12fedilinkcross-posted to: python_dev@lemmy.pastwind.toppython@partizle.com
minus-squarenickwitha_k (he/him)@lemmy.sdf.orglinkfedilinkarrow-up0·1 year agoEasier than grepping, you can just look at the standard library docs: https://docs.python.org/3/library/
minus-squareBatmanAoD@programming.devlinkfedilinkarrow-up0·1 year agoHow is that easier? It doesn’t look like it provides a list of which modules have a __name__ == "__main__" block.
Easier than grepping, you can just look at the standard library docs: https://docs.python.org/3/library/
How is that easier? It doesn’t look like it provides a list of which modules have a
__name__ == "__main__"
block.