Python code for the amazing Tweet Bot on pcDuino.
pcDuino (or any Debian-based Linux system):
- sudo apt-get update
- sudo apt-get install python-pip
- sudo pip install Twython
- Download KilroyTheRobot source
- python read_sprites.py
- sudo python KilroyTheRobot.py
To have Kilroy run on boot, add the following lines to /etc/rc.local (before 'exit 0'):
cd /home/ubuntu/Projects/KilroyTheRobot/ python KilroyTheRobot.py
Windows (if you must):
- Download https://raw.github.com/pypa/pip/master/contrib/get-pip.py
- Start command prompt as admin
- python get-pip.py
- Add "C:\python27\Scripts" to system PATH
- Restart computer
- pip install Twython
- Download KilroyTheRobot source
- python read_sprites.py
- sudo python KilroyTheRobot.py