Adding Characters to a Column with Python
<p>I am looking for a way to add three 0's to the end of all entries in one column of data using an update cursor in python.  For instance, if all the entries in the column of data have a value of 123456. I need to add python code that will return 123456000.  </p>

<p>I was able to subtract out the the last three digits to process the information originally using this:</p>

<pre><code>    while row:
        value = row.GetValue("LD_MCPI")[:-3].strip()
        row.SetValue("LD_MCPI", value)
        rows.updateRow(row)
        row = rows.Next()
</code></pre>

<p>How can I modify the [:-3] section of the second line to yield the results I need?</p>

<p>Thanks for your time.</p>
