Browsing around the internet, I found this website. It has information and examples of connecting scratch to python. It's really interesting. You might even use it to connect scratch to python to mindstorms!
Anyone who is interested should check it out.
Offline
Python is basically Scratch without the blocks.
Offline