This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# Python to read pywws raw weather-file and output windspeed | |
# To the GertBoard LED's based on strength | |
from collections import deque | |
import csv | |
import wiringpi | |
from time import sleep | |
import sys | |
import math |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imaplib | |
import email | |
#connect to gmail | |
mail = imaplib.IMAP4_SSL('imap.gmail.com') | |
mail.login('email@gmail.com','yourPassWordPlease') | |
mail.select('inbox') | |
mail.list() |
NewerOlder