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

pycharm 调试的问题

  •  
  •   shyrock · Apr 14, 2021 · 1249 views
    This topic created in 1990 days ago, the information mentioned may be changed or developed.
    代码中有一个字典,key 是对象。
    尝试在 watch 中或者 evaluate 窗口监视这个字典的某个条目时,不知道怎么输入正确的 key 。
    如果用 dict_name['object_name'],会在字典中创建一个 key 为'object_name'的新条目。。。
    如果直接输入 dict_name[object_name],则报错找不到 oject_name 。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2621 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 04:13 · PVG 12:13 · LAX 21:13 · JFK 00:13
    ♥ Do have faith in what you're doing.