Added Chapter on File Handling #67
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Creating a draft pull request as this code still has some problems.
None of the Python code is interactive because it uses the os library, which can't be used within the book.
I am unable to test the Java code. It is interactive for now, but I would imagine it may not function as intended considering it handles files. All completed Java code was tested in an online compiler and functions as intended.
The name of the pretext file is "ch_x_filehandling.ptx". It will appear as chapter 8 if the book is built because that is where I listed it in main.ptx (chapter 8 will be 9, chapter 9 will be 10, and so on). I figured this was a good place to put the chapter, but other locations may be good as well. We considered that it may be better to wait to determine a final location and rename the other chapter file names after other issues that add chapters and condense chapters are taken care of, but it may be a good idea to go ahead and make the necessary file name changes.
Please let me know any changes that may be desired!