github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/pybind11/tests/test_embed/test_interpreter.py (about) 1 import sys 2 3 from widget_module import Widget 4 5 6 class DerivedWidget(Widget): 7 def __init__(self, message): 8 super().__init__(message) 9 10 def the_answer(self): 11 return 42 12 13 def argv0(self): 14 return sys.argv[0]