文档: http://amoffat.github.io/sh/index.html 安装
pip install sh
简单示例
>>> import sh
>>> sh.echo("hi")
hi
此文章中还提到了好多库和模块,都很有用:
精选26个Python实用技巧,想秀技能先Get这份技术列表!26 个
Python有用的技巧 按照首字母从 A~Z 排序
![](https://img.laitimes.com/img/__Qf2AjLwojIjJCLyojI0JCLicmbw5CM5kzY3MDNiZGMiBzY4MDOiRjM0ITYhJ2YhFTZ0AjZw8CX5d2bs92Yl1iclB3bsVmdlR2LcNWaw9CXt92Yu4GZjlGbh5yYjV3Lc9CX6MHc0RHaiojIsJye.png)
文档: http://amoffat.github.io/sh/index.html 安装
pip install sh
简单示例
>>> import sh
>>> sh.echo("hi")
hi
此文章中还提到了好多库和模块,都很有用:
精选26个Python实用技巧,想秀技能先Get这份技术列表!26 个
Python有用的技巧 按照首字母从 A~Z 排序