Chris Green wrote at 2023-10-28 17:08 +0100: >I am using the python3 smbus module, but it's hard work because of the >lack of documentation. Web searches confirm that the documentation is >somewhat thin! > >If you do the obvious this is what you get:- > > >>> import smbus > >>> dir (smbus) > ['SMBus', '__doc__', '__file__', '__loader__', '__name__', '__package__', > '__spec__'] > >>> help(smbus) > ...
What does `help(smbus.SMBus`) tell you? Almost surely, `SMBus` is a class providing the main access methods. -- https://mail.python.org/mailman/listinfo/python-list