The script has minimal dependencies (requests and send2trash), so in most environments (e.g. Ubuntu) you can just run the script in your shell: sudo apt install python3-requests python3-send2trash # ...
"""Fetch the point cloud of a device and print the frame ID and number of returns in the received frame. This example will stop after 10 received frames.
Giving functions easy-to-understand names is the foundation of readable code. However, even if you follow the rule of 'starting with a verb' and name a function something like get_user_data(), ...