Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2. Reading and Writing Files

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


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial