1

If my C++ class has been wrapped by SWIG and exposed to the python interpreter. Is there a way to retrieve a collection of all public variables and methods in python? Thanks!

wattostudios
  • 8,666
  • 13
  • 43
  • 57
delita
  • 1,571
  • 1
  • 19
  • 25

1 Answers1

0

This is not SWIG-related, so it might not solve your specific problem, but you might want to look at Python's dir and __dir__ functions. There's a related question here.

Community
  • 1
  • 1
Herman Schaaf
  • 46,821
  • 21
  • 100
  • 139