Instructions to go from zero to a Raspberry Pi Kiosk displaying a webpage with auto-refresh.
- OS: Raspbian (Debian Wheezy) 2015-02-16
- Browser: IceWeasel
Instructions for other OSes.
Instructions to go from zero to a Raspberry Pi Kiosk displaying a webpage with auto-refresh.
Instructions for other OSes.
| # Depends on the OS X "say" command | |
| import time, datetime, subprocess, math, sys | |
| def say(s): | |
| subprocess.call(['say', str(s)]) | |
| def seconds_until(dt): | |
| return time.mktime(dt.timetuple()) - time.time() |