V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
omygod
V2EX  ›  Python

判断一个 Python 源文件是不是符合 Python 语法规范需要什么样的知识呢

  •  
  •   omygod · 2017-09-21 18:21:43 +08:00 · 2139 次点击
    这是一个创建于 2406 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    2017-09-22 12:01:31 +08:00
    lzjun
        1
    lzjun  
       2017-09-21 18:23:12 +08:00
    用 Pylint 检测
    SuperMild
        2
    SuperMild  
       2017-09-21 18:42:40 +08:00
    不需要任何知识,用工具判断。
    misaka19000
        3
    misaka19000  
       2017-09-21 18:52:05 +08:00 via Android   ❤️ 1
    编译原理
    siteshen
        4
    siteshen  
       2017-09-21 19:07:28 +08:00   ❤️ 1
    ThinkZ
        5
    ThinkZ  
       2017-09-22 09:33:02 +08:00
    pyCharm 右边滚动条上有提示,灰的就是语法规范问题
    widewing
        6
    widewing  
       2017-09-22 12:01:31 +08:00 via Android
    尺子量?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4019 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 05:16 · PVG 13:16 · LAX 22:16 · JFK 01:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.