Summary
In this chapter, we discussed how to take autogenerated code and make it generalized, while adding functions that can be reused in other scripts and will make the generation of the necessary code components, such as SQL statements, much easier. We also addressed when it is best not to go too far with the creation of functions to avoid making them too specific.
In the next chapter, we will investigate the powerful Data Access module and its Search Cursors, Update Cursors, and Insert Cursors.