13
Application Integration: Configuration
Python’s concept of an extensible library gives us rich access to numerous computing resources. The language provides avenues to make even more resources available. This makes Python programs particularly strong at integrating components to create sophisticated composite processing. In this chapter, we’ll address the fundamentals of creating complex applications: managing configuration files, logging, and a design pattern for scripts that permits automated testing.
These new recipes leverage ideas shown in recipes in other chapters. Specifically, in the Using argparse to get command-line input, Using cmd to create command-line applications, and Using the OS environment settings recipes in Chapter 6, some specific techniques for creating top-level (main) application scripts were shown. It may help to review those recipes to see examples of Python application scripts. In Chapter 11, we looked at filesystem input...