<div class="gmail_quote">On Fri, Jan 15, 2010 at 2:26 PM, Jean-Michel Pichavant <span dir="ltr"><<a href="mailto:jeanmichel@sequans.com">jeanmichel@sequans.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Victor Subervi wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi;<br>
Well it took me *less than a day* to fix the following problems:<br>
-- bare excepts (accidentally left a couple I think)<br>
-- sql injection attacks<br>
-- recreating tables to make them more reasonable<br>
<br>
******************************************<br>
"Programming is an ITERATIVE process."<br>
******************************************<br>
See how easy that was??<br>
<br>
Now, I believe someone once mentioned that there is some s/w tool out there for changing the names of my variables more easily than going through every script one-by-one. If so, please share with me again what it is. Also, if anyone has any other suggestions they've been holding back, or had mentioned earlier, on how to improve my design, please share them with me. Eventually, I'll get around to converting it from monolithic code to class-based code (and maybe become a real programmer, God forbid).<br>

beno<br>
<br>
-- <br>
The Logos has come to bear<br>
<a href="http://logos.13gems.com/" target="_blank">http://logos.13gems.com/</a><br>
</blockquote></div></div>
under unix/linux, google tells me that:<br>
|grep -lr -e '<searchterm>' * | xargs sed -i 's/<searchterm>/<targetterm>/g'|<br>
<br>
will do the trick.<br></blockquote><div><br>Easy money ;) Thanks.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
To improve your code layout/design, you may want to try pylint.<br>
It requires a little bit of tunning, because the default rules are not always that satisfying, but it should give you an idea how your code is in bad shape once you'll get those thousands warnings from pylint :o)<br>
</blockquote><div><br>Cool. I'll wait till I (finally!!) get my own computer Wednesday. Been working half a year on borrowed computers!! Bought a Mac Pro :)<br>Thanks,<br>beno<br>
</div></div>