If a Sprite has the Platform movement then it's done like this:
I recommend trying out Silent Cacophony's Pyshell
for experimenting with python. I use it whenever I use python in my caps to see the correct name of attributes and to see what's accessible.
To find the names of all the attributes of SpritePlatform:
* Open PyShell.cap
* Add a Sprite object and give it a Platform Movement.
* Run the cap
* Type in "dir(SpritePlatform)" and press enter.