Re: [Tutor] a little loop

2013-05-29 Thread boB Stepp
On Wed, May 29, 2013 at 11:07 AM, Oscar Benjamin wrote: > On 29 May 2013 16:38, boB Stepp wrote: >> On Tue, May 28, 2013 at 9:34 PM, Steven D'Aprano wrote: >>> >>> However, a word of warning: although you *can* assemble a new string >>> character by character like that, you should not, because

Re: [Tutor] a little loop

2013-05-29 Thread Oscar Benjamin
On 29 May 2013 16:38, boB Stepp wrote: > On Tue, May 28, 2013 at 9:34 PM, Steven D'Aprano wrote: >> >> However, a word of warning: although you *can* assemble a new string >> character by character like that, you should not, because it risks being >> very slow. *Painfully* slow. If you want to

Re: [Tutor] a little loop

2013-05-29 Thread boB Stepp
On Tue, May 28, 2013 at 9:34 PM, Steven D'Aprano wrote: > > On 28/05/13 13:54, Tim Hanson wrote: >> > > However, a word of warning: although you *can* assemble a new string > character by character like that, you should not, because it risks being very > slow. *Painfully* slow. If you want to h

Re: [Tutor] walk registry using _winreg

2013-05-29 Thread Dave Angel
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

[Tutor] walk registry using _winreg

2013-05-29 Thread Albert-Jan Roskam
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