13.5 Designing scripts for composition
An important part of overall application design is creating a script that can process command-line arguments and configuration files. Further, it’s very important to design a script so that it can be tested as well as combined with other scripts into a composite application.
The idea is that many good ideas evolve through a series of stages. One such evolution might be the following path:
The idea starts as a collection of separate notebooks for separate parts of a larger task.
After the initial period of exploration and experimentation, this becomes a simple repetitive task. Rather than open and click manually to run the notebook, it’s saved into a script file, Then the script files can be run from the command line.
After an initial period of making this a regular part of the organization’s operations, the three-part script...