Wednesday, July 21, 2010

Workshop for Python class

Okay you can find the latest lecture here in PDF form...
http://www.drewfx.com/TAFE/python/Python%20Games%20Lecture%201b.pdf
This should take you about 2 hours to complete.  If you are running this from home there's instructions in there on how to set up your own dev environment on the first page.


All files and previous lecture can be found here...
http://www.drewfx.com/TAFE/python/

If you need to install Eclipse and Python at home follow these steps...
You will need Python2.5 installed first...
http://www.drewfx.com/TAFE/python/python-2.5.4.msi

Then install PyGame ...
http://www.drewfx.com/TAFE/python/pygame-1.9.1.win32-py2.5.msi

Then download Eclipse and unpack it to your Hard Drive (not the desktop) and run Eclipse.exe from the Eclipse folder created.
http://www.drewfx.com/TAFE/python/eclipse-SDK-3.5.2-win32.zip

Good luck and thanks for the well wishes.

Tuesday, July 20, 2010

Python Week 1 - Playlist

myItunesLibrary = []
myItunesLibrary.append("Love The Way You Lie - Eminem - Recovery")
myItunesLibrary.append("Dynamite - Taio Cruz - Rokstarr")
myItunesLibrary.append("California Gurls - Katy Perry - California Gurls(single)")
myItunesLibrary.append("I Like It - Enrique Inglesias - I Like It(single)")
myItunesLibrary.append("Cooler Than Me - Mike Posner - Cooler Than Me(single)")
myItunesLibrary.append("Ridin' Solo - Jason Derulo - Jason Derulo")
myItunesLibrary.append("Airplanes - B.o.B - B.o.B(single)")
myItunesLibrary.append("Jars of Hearts - Christini Perri - Jars of Hearts(single)")
myItunesLibrary.append("Billionaire - Travie McCoy - Billionaire(single)")
myItunesLibrary.append("OMG - Usher - Raymond V Raymond")