[python-win32] how to switch keyboards in windows with win32api ?

2012-05-31 Thread jo
Hi On windows 7 I have not managed to switch keyboard to dutch netherlands with below script. It does switch to US keyboard though. What am I doing wrong...? I have been experimenting with different parameters and so on. msdn also mentions ActivateKeyboardLayout but it does not appear in my

[python-win32] Importing tempfile (or random) results in disaster...

2012-05-31 Thread Kevin Horn
I'm setting up a new machine (Win7) and one of the first things I thought I'd do is install Python, distribute, pip, virtualenv, etc. However, I can't seem to get that far. When trying to install distribute (using distribute_setup.py), I get the following traceback: Traceback (most recent call l

Re: [python-win32] Importing tempfile (or random) results in disaster...

2012-05-31 Thread Tim Golden
On 31/05/2012 14:40, Kevin Horn wrote: > I'm setting up a new machine (Win7) and one of the first things I > thought I'd do is install Python, distribute, pip, virtualenv, etc. > > However, I can't seem to get that far. > > When trying to install distribute (using distribute_setup.py), I get the

[python-win32] Fwd: Importing tempfile (or random) results in disaster...

2012-05-31 Thread Kevin Horn
On Thu, May 31, 2012 at 11:09 AM, Tim Golden wrote: > On 31/05/2012 14:40, Kevin Horn wrote: > > I'm setting up a new machine (Win7) and one of the first things I > > thought I'd do is install Python, distribute, pip, virtualenv, etc. > > > > However, I can't seem to get that far. > > > > When tr