推荐学习书目
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
fun7595
V2EX  ›  Python

为什么 pycharm 的 dir()函数运行没有结果显示?是设置问题吗?

  •  
  •   fun7595 · Jul 5, 2018 · 2524 views
    This topic created in 2867 days ago, the information mentioned may be changed or developed.

    新手小白学习到 dir ()函数这里,在 pycharm 里运行,没有返回模块名称,哪位小伙伴告知下原因?

    import sys

    dir(sys)

    运行结果窗口只显示 :Process finished with exit code 0

    xuegj1010
        1
    xuegj1010  
       Jul 5, 2018   ❤️ 1
    print(dir(sys))
    fun7595
        2
    fun7595  
    OP
       Jul 5, 2018
    @xuegj1010 谢谢你。突然觉得自己问了一个非常低级的问题 😰
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 22:16 · PVG 06:16 · LAX 15:16 · JFK 18:16
    ♥ Do have faith in what you're doing.