The sh library provides a neat alternative.An A-Z of useful Python tricks26K60Peter GleesonDavid Menéndez HurtadoFollowAug 31, 2018 · 1 min readFor the opposite thing, pythonpy: python one-line programs on the terminal.