- Original Message -
> From: eryksun
> To: Albert-Jan Roskam
> Cc: Dave Angel ; "tutor@python.org"
> Sent: Thursday, May 30, 2013 10:05 PM
> Subject: Re: [Tutor] walk registry using _winreg
>
> On Thu, May 30, 2013 at 10:47 AM, Albert-Jan Roskam
&
On Thu, May 30, 2013 at 10:47 AM, Albert-Jan Roskam wrote:
>
> def walkRegistry(regkey, keyToSet="file_locations",
> valueToSet="temp_dir",
> HKEY=_winreg.HKEY_CURRENT_USER, verbose=False):
I suppose you don't need the "sam" option in your case, but in general
it
In addition to my previous reply: here's a colour-coded version of the code:
http://pastebin.com/bZEezDSG
("Readability counts")
Regards,
Albert-Jan
~~
All right, but apart from the sanitation, the medicine, education, wine,
__
>From: Dave Angel
>To: tutor@python.org
>Sent: Wednesday, May 29, 2013 2:11 PM
>Subject: Re: [Tutor] walk registry using _winreg
>
>
>On 05/29/2013 04:11 AM, Albert-Jan Roskam wrote:
>> Hello,
>>
>> I created a program to g
On 05/29/2013 04:11 AM, Albert-Jan Roskam wrote:
Hello,
I created a program to go through the windows registry and look for a certain key
("file_locations", though in the example I am using a key that every windows user has on
his/her computer). If found, I want to replace the data associated
Hello,
I created a program to go through the windows registry and look for a certain
key ("file_locations", though in the example I am using a key that every
windows user has on his/her computer). If found, I want to replace the data
associated with value "temp_dir" in that key. I have chosen t