python工具

启动一个下载服务器

python -m SimpleHTTPServer

json格式化工具

[root@localhost bin]# echo '{"job": "developer", "name": "lmx", "sex": "male"}' | python -m json.tool
{
    "job": "developer",
    "name": "lmx",
    "sex": "male"
}

验证第三方库是否正确安装

[gaoquan@localhost ~]$ python -c "import ansible"
Traceback (most recent call last):
  File "", line 1, in <module>
ImportError: No module named ansible

你可能感兴趣的:(linux工具)