用python更改键盘布局?

5 python registry keyboard

我正在使用大学系统 (Windows XP),并且希望在登录时将键盘设置为 Dvorak。我目前有一个更改桌面图像的 python 脚本。

我也可以使用 python 来更改布局吗?或者还有其他方法吗?