これは明らかに何らかのスコープまたはインポートの問題ですが、私にはわかりません。何かのようなもの:
classes.py
class Thing(object):
    @property
    def global_test(self):
        return the_global
その後...
test.py
from classes import Thing
global the_global
the_global = 'foobar'
t = Thing()
t.global_test
:(
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "classes.py", line 4, in global_test
    return the_global
NameError: global name 'the_global' is not defined
どんな助けでも素晴らしいでしょう!