Cpp Access Attributes In Python Class