First you need the
Windows Live ID Delegated Authentication SDK 1.2[
^] this has a python module which you have to use as "access is provided only through the use of the consent token returned from this process" which is from the link you provided.
From the download page for the SDK "
This release includes sample applications for each of seven different programming languages: ASP.NET (C# and VB), Java, Perl, PHP,
Python, and Ruby. For each language there is a function library that you can use to extend the sample."