How to find any documentation for smbus?
Dieter Maurer
dieter at handshake.de
Mon Oct 30 12:55:33 EDT 2023
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.
More information about the Python-list
mailing list