[python-win32] Setting UserInitials in Office
Tim Golden
mail at timgolden.me.uk
Wed Apr 28 15:28:11 CEST 2010
On 28/04/2010 14:23, Mike Driscoll wrote:
>
> Sorry for the delay in checking this out. I was out of the office
> yesterday. Your code almost worked for reading the key, but I get a
> tuple back:
[goes back to check what he wrote...]
That's why my code does this (note the nearly-invisible
underscore before the equals), discarding the datatype
value which is the second item of the tuple returned:
username, _ = _winreg.QueryValueEx (k, "UserName")
TJG
More information about the python-win32
mailing list