The VS build process consists of just calling MSBuild and passing it the name of the project/solution and any customized parameters (such as configuration). Use the standard Python script that can invoke another process to do this.
msbuild mysolution.sln -t:rebuild -property:configuration=Release
Note that you need to ensure the environment is set up properly for this. Refer to the "Developer Command Prompt" that was created when you installed VS. It references a command shell script that sets up the environment needed to build in VS. Replicate the setting of the env vars that you need for your environment and then call MSBuild.