Chapter 2. Reading and Writing Files
In this chapter, we will cover:
Reading a simple file
Reading several files at the same time
Reading unstructured files
Reading files having one field by row
Reading files having some fields occupying two or more rows
Writing a simple file
Writing an unstructured file
Providing the name of a file (for reading or writing) dynamically
Using the name of a file (or part of it) as a field
Reading an Excel file
Getting the value of specific cells in an Excel file
Writing an Excel file with several sheets
Writing an Excel file with a dynamic number of sheets