Python can sometimes get the best of programmers (I have firsthand experience). Writing code that is easy to maintain and essentially use again is tough - mainly because of the way strings are within Python. When it comes to scripts, you want to focus strongly on standard library and pure Python. You should follow docstring conventions. Avoid repetition.