Need Help Getting Started with Python and SDL

I think SDL and Python are an important part in creating an interesting and interactive age. However, I found it very hard to find a comprehensive workflow for incorporating and using SDL and Python in an age. Some Wiki articles are old and deprecated. Others only mention parts of the process.
Here's what I've figured out so far (please correct me if some of these points are incorrect):
-Basically every age has an SDL file which stores the (default and current) states of variables of the age (for example which door is open or which buttons have been pushed)
-Every age also has a python file which can read and write the SDL variables and set the corresponding reactions in the age (e.g. if the player clicks on a button then play an animation and set an SDL variable to a new value)
-PlasmaShop can be used to create python and SDL files (is this still the program that's used by age creators?)
-plasma files need to be packed into pak files which can also be done with PlasmaShop
-the pak file (or the python file?) has to be attached to an object in your age and must be set to global so that it can have an effect on the age
I think I'll be able to create a general python file for my age and put it into a pak file as described in this tutorial: Andylegate's Tutorial on Python Files
So what I'm looking for right now is an overview over the many functions that you can use inside a python file.
I'd like to start out simple: there's a moving platform which is animated to move from left to right or vice versa. There's also a button which triggers the movement. So far I think this could also be achieved with the Plasma plugin in 3D Max. However, I'd like to have an SDL variable which stores the state of the platform so that it is remembered when I leave the age and come back later.
Any help or links to tutorials on the subject would be greatly appreciated
Here's what I've figured out so far (please correct me if some of these points are incorrect):
-Basically every age has an SDL file which stores the (default and current) states of variables of the age (for example which door is open or which buttons have been pushed)
-Every age also has a python file which can read and write the SDL variables and set the corresponding reactions in the age (e.g. if the player clicks on a button then play an animation and set an SDL variable to a new value)
-PlasmaShop can be used to create python and SDL files (is this still the program that's used by age creators?)
-plasma files need to be packed into pak files which can also be done with PlasmaShop
-the pak file (or the python file?) has to be attached to an object in your age and must be set to global so that it can have an effect on the age
I think I'll be able to create a general python file for my age and put it into a pak file as described in this tutorial: Andylegate's Tutorial on Python Files
So what I'm looking for right now is an overview over the many functions that you can use inside a python file.
I'd like to start out simple: there's a moving platform which is animated to move from left to right or vice versa. There's also a button which triggers the movement. So far I think this could also be achieved with the Plasma plugin in 3D Max. However, I'd like to have an SDL variable which stores the state of the platform so that it is remembered when I leave the age and come back later.
Any help or links to tutorials on the subject would be greatly appreciated
