Boston Python Workshop/Friday handout: Difference between revisions
Content added Content deleted
Line 53: | Line 53: | ||
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. |
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. |
||
Such a deep asnewr! GD&RVVF |
|||
=== Run the ColorWall === |
|||
Run the example effects: |
|||
* On Windows, assuming the ColorWall software was downloaded to C:\Users\yourusername\Desktop\ColorWall |
|||
run \Python27\python.exe "C:\Users\yourusername\Desktop\colorwall\ColorWall\run.py" |
|||
* On OS X, assuming the ColorWall software was downloaded to ~/Desktop/colorwall/ColorWall run |
|||
python ~/Desktop/colorwall/ColorWall/run.py |
|||
* On Linux, assuming the ColorWall software was downloaded to ~/Desktop/colorwall/ColorWall run |
|||
python ~/Desktop/colorwall/ColorWall/run.py |
|||
=== Open run.py in text editor === |
=== Open run.py in text editor === |