<filename>creating-a-component/stublib/AnalogInput.py
class AnalogInput:

    def __init__(self, channel_number):
        pass

    def getVoltage(self):
        return 0.0

<filename>creating-a-component/stublib/AnalogInput.py
class AnalogInput:

    def __init__(self, channel_number):
        pass

    def getVoltage(self):
        return 0.0
