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

Python 类似于 twisted 这种框架,即使在 pycharm 上代码提示也是很难用,大家是怎么解决的, API 背不过来。。。

  •  
  •   youngce · 2019-08-09 10:16:50 +08:00 · 1662 次点击
    这是一个创建于 1693 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    2019-08-09 16:08:21 +08:00
    locoz
        1
    locoz  
       2019-08-09 10:32:05 +08:00
    你是指代码提示不能正常显示?可以自己再包一层,用类型注解标识一下输入输出的类型,然后就正常了
    youngce
        2
    youngce  
    OP
       2019-08-09 11:20:09 +08:00
    @locoz 大佬类似下面这种情况 reactor,应该有很多 API 但是这里无法提示出来,应该怎么办
    ![eHh8r4.png]( https://s2.ax1x.com/2019/08/09/eHh8r4.png)
    Latin
        3
    Latin  
       2019-08-09 16:08:21 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1486 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:19 · PVG 01:19 · LAX 10:19 · JFK 13:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.