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
PowerDi
V2EX  ›  Python

好奇 Python 的补全

  •  
  •   PowerDi · 212 天前 · 981 次点击
    这是一个创建于 212 天前的主题,其中的信息可能已经有所发展或是发生改变。
    太久没写 python 的代码了,pycharm 这种类似的 IDE 怎么让我感觉补全的功能比以前越来越困难了。譬如现在的三方库返回的类没注解返回都是 None ,IDE 似乎就没办法补全它的子方法了。

    这种情况下,用 AI 补全会不会能正确列举子方法?
    2 条回复    2023-09-28 17:51:37 +08:00
    keyv
        1
    keyv  
       212 天前 via iPhone
    用 AI 可以,但是保证不了正确率啊,最后还得人工校验。
    molika
        2
    molika  
       212 天前
    自己 type hint
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2822 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 15:00 · PVG 23:00 · LAX 08:00 · JFK 11:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.