Two simple mqtt client scripts
Publishs 20 msgs in a random time to a defined topic.
Subscribes defined topics in an endless loop.
This clients are using paho-mqtt client library. You have to install it to use these scripts:
pip install paho-mqtt