In our latest Raspberry Pi sensor project, we wanted to have a no-network approach to getting data automatically off it. The solution for this came through the running of a Python script on insertion of an “authorised” USB storage device.

In this article, I will explain how such a feat may be achieved.

#python #programming #automation #usb

How to Run a Python Script on Insertion of a USB Device
4.80 GEEK