Sep 17, 2021
Hi,
That's not a bash shell my friend, it's a python script hence why it has a .py extension
The reason it's written in Python is due to the usage of the gpiozero library which allows it to access the GPIO ports on the Raspberry Pi.
I hope this helps :-)