Boston Python Workshop/Friday handout: Difference between revisions

removing spam
imported>Brittag
(removing spam)
 
(2 intermediate revisions by 2 users not shown)
Line 23:
gedit
 
== How to get to a Python prompt ==
It's great to read something that's both enjoyable and provides pragmatisdc solutnios.
 
Often in these directions, you'll need to type things at Python prompt. To get one:
 
* On Windows: Start -> Run -> cmd.exe
** Type this, and press enter:
** \python27\python
* On Linux or Mac OS:
** Open a Terminal, and type 'python'
 
== Intro to Programming stream: Setting up for the ColorWall ==
Line 53 ⟶ 61:
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 ===
Such a deep asnewr! GD&RVVF
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 ===
Anonymous user