fix coding bug in cpython; fix live snapper initialization bug; add input range, channel enable and signal generator to picoscope adapter