I hereby claim:
- I am dylangore on github.
- I am dylangore (https://keybase.io/dylangore) on keybase.
- I have a public key ASBMO7vb5tzCWcFTtPXTTpWALDDaTYjk4sxK9Um2K44fmAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#! /usr/local/bin/python3 | |
import netifaces | |
from pushbullet import Pushbullet | |
#Setup PushBullet | |
pb = Pushbullet("YOUR_PB_API_KEY") | |
#Gets the local IP of the wlan0 interface | |
localip = netifaces.ifaddresses('wlan0')[netifaces.AF_INET][0]['addr'] |