pcfens / RaspberryPi-AS3935

A basic library for working with the AS3935 that's connected to the Raspberry Pi.
Other
52 stars 24 forks source link

make demo.py executable #8

Closed ghost closed 10 years ago

ghost commented 10 years ago

By adding this first line, one can make the demo.py executable (chmod +x demo.py) and invoke it directly from the command-line using: ./demo.py

pcfens commented 10 years ago

Hi Folkert, I think this is a great idea, but I did it in a slightly different fashion than you did. I'd prefer to keep the environment's python the same, so I changed the #! line, and kept the import line.

Thanks for this.