How can I create a working Selenium WebDriver python-script from Selenium IDE?

I want a tutuorial on how to create a working Selenium WebDriver python-script from Selenium IDE.