Python标准库中有哪些“工具”

2024-04-29 02:46:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前了解两种工具:

  1. base64编码器/解码器:

    python -m base64 -e <input
    python -m base64 -d <input

  2. json验证器和漂亮的打印机

    python -m json.tool <input

输入可以是stdin或file。

我很好奇SPL是否还有其他类似的工具?


Tags: 工具jsoninputstdin打印机tool编码器解码器