Script Discussion & Critique

hokiegal99 hokiegal99 at hotmail.com
Wed Aug 27 22:35:06 EDT 2003


Yes, I got it... thanks for pointing out the flaw in my logic! And for 
the other tips as well. I especially liked the one about string. I had 
no idea that I didn't need to use that. Thanks again!!!

mackstann wrote:
> On Wed, Aug 27, 2003 at 08:54:06PM -0400, hokiegal99 wrote:
> 
>>Something odd that I've discovered about this script is that it won't 
>>replace strings at the far left side of a text file *unless* the string 
>>has one or more spaces before it. For example:
>>
>>THIS (won't be replace with THAT)
>> THIS (will be replaced with THAT)
>>  THIS (will be replaced with THAT)
>>                       THIS (will be replaced with THAT)
> 
> 
> See my reply :)
> 






More information about the Python-list mailing list