2023-04-18 16:11:43 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2022-06-20 22:59:56 +00:00
|
|
|
import sys
|
|
|
|
|
2021-03-08 14:54:22 +00:00
|
|
|
from widget_module import Widget
|
|
|
|
|
|
|
|
|
|
|
|
class DerivedWidget(Widget):
|
|
|
|
def __init__(self, message):
|
2023-04-18 16:11:43 +00:00
|
|
|
super(DerivedWidget, self).__init__(message)
|
2021-03-08 14:54:22 +00:00
|
|
|
|
|
|
|
def the_answer(self):
|
|
|
|
return 42
|
2022-06-20 22:59:56 +00:00
|
|
|
|
|
|
|
def argv0(self):
|
|
|
|
return sys.argv[0]
|