Timeline for Detect that a python program is running on the pi
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2015 at 7:30 | comment | added | MartyMacGyver | I encountered this yesterday when trying to get py-gaugette working with my Pi2... it (currently) uses the platform module method that unfortunately fails with the Pi2 and will hopefully benefit from this as well. github.com/guyc/py-gaugette/issues/12 | |
Feb 18, 2015 at 4:35 | comment | added | Peter | This sounds like the best answer to me, since I would have suggested testing /proc/cpuinfo. I've never seen the platform.py from adafruit before, but looking over it, it makes sense. Also if the file doesn't exist, you'll know it's not a linux based system. Thanks for this :). Have my +1. | |
Feb 17, 2015 at 19:59 | review | First posts | |||
Feb 17, 2015 at 20:50 | |||||
Feb 17, 2015 at 19:59 | history | answered | MartyMacGyver | CC BY-SA 3.0 |