V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
OnlyBlue
V2EX  ›  Python

这里的scoping和threading是什么意思?

  •  
  •   OnlyBlue · Dec 3, 2011 · 5820 views
    This topic created in 5260 days ago, the information mentioned may be changed or developed.
    Stack Overflow 上的帖子,太长了,我把网址帖出来。

    http://stackoverflow.com/questions/3728577/python-scoping-and-threading-question
    2 replies    1970-01-01 08:00:00 +08:00
    keakon
        1
    keakon  
       Dec 3, 2011
    正文里就提到一次scoping,只能当作用域解释。线程可以访问自己的变量,并且共享进程的全局变量。
    OnlyBlue
        2
    OnlyBlue  
    OP
       Dec 3, 2011
    我在一个PHP程序中看到class Scoping{}和class Threading{},看不明白他们是什么意思,但感觉到scoping和threading的意思是相对应的。

    我搜了一下,就发现了这个帖子,其中标题中正好有scoping和threading两个单词,所以觉得他们的意思和上面的情形一样,但是又看不懂帖子,所以在这发了一个问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5835 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 03:12 · PVG 11:12 · LAX 20:12 · JFK 23:12
    ♥ Do have faith in what you're doing.