Boston Python Workshop/Friday handout: Difference between revisions
Content added Content deleted
imported>Lsblakk |
imported>Lsblakk |
||
Line 44:
===Get project files===
* Download the ColorWall project from http://mit.edu/jesstess/www/BostonPythonWorkshop into that folder
▲<li>Create a folder on your desktop called colorwall</li>
▲<li>OS X and Linux users can get .tar.gz file through Terminal with</li>
cd Desktop/colorwall
wget http://mit.edu/jesstess/www/BostonPythonWorkshop/ColorWall.tar.gz
# unpack the tarball
tar -xvf ColorWall.tar.gz
The ColorWall project depends on Tkinter which is pre-installed on some Windows, OS X, and Linux* distributions. To check if you have Tkinter installed, open your Terminal/cmd window and start your Python prompt:
▲===Installing Tkinter===
▲The ColorWall project depends on Tkinter which is pre-installed on some Windows, OS X, and Linux* distributions. To check if you have Tkinter installed, open your Terminal/cmd window and start your Python prompt:</li>
python
>>> import Tkinter
If that command results in an <code>ImportError</code> try following the [http://tkinter.unpythonic.net/wiki/How_to_install_Tkinter instructions for installing Tkinter here] and if you have problems let a staff member know and we'll help you. (*On some Debian installation, when you <code>import Tkinter</code> it will tell you that you need to install the <code>python-tk</code> package, which you should do). After you are done at the Python prompt, exit to the regular terminal by typing <code>exit()</code> and hitting enter.
===Run the ColorWall===
|