【问题标题】:Why are PIL and its Image module capitalized?为什么 PIL 及其 Image 模块要大写?
【发布时间】:2023-01-22 00:46:38
【问题描述】:

PEP8 standard is for modules to be lower-case

PIL 是所有大写的顶级模块并没有那么糟糕,但是 name a module Image 然后在该模块中有一个名为 Image 的类似乎不必要地令人困惑。

为什么这样做呢?

【问题讨论】:

  • 因为不是每个人都关心/同意标准。

标签: python-imaging-library


【解决方案1】:

PIL 比 PEP8 早了大约 5 或 6 年

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-11-07
    • 1970-01-01
    • 2013-10-31
    • 2013-12-14
    • 1970-01-01
    • 1970-01-01
    • 2015-10-25
    相关资源
    最近更新 更多