我是Python新手,来自C#。我知道如何公开类属性和方法。我想公开我的实例变量。让intellisense检测它们将是理想的。此外,请告诉我,如果这不是奏鸣曲,或者我应该做其他的事情。
class MyClass(Object):
class_attribute = "Foo"
#This is the way I'm currently publicizing instance attributes.
#Basically I'm using properties instead of instance attributes.