Team Reflection

File I/O is an area where most programmers refer to code examples to remind themselves how file I/O works - which methods to call and in what order. For this reason, this reflection is longer and asks you to create a reference file for future use when you need to program with files again.

Process Analyst:

Other Team Members:

Record the name of the Process Analyst from your team (likely 4 people) and record their name and the other team members names above.

The Process Analyst should lead the group in a team reflection discussion and type in answers to the following questions:

1. Describe in detail the different ways to call the open method.

2. Describe in detail how to read from a file object. Be sure to provide code examples with explanations so this will be useful to you later this semester when you need to handle file I/O again. Pay special attention to anything that might cause an error in your program.

3. Describe in detail how to write or append to a file object. Be sure to provide code examples with explanations so this will be useful to you later this semester when you need to handle file I/O again. Pay special attention to anything that might cause an error in your program.

4. Provide a few code examples of how the format method is used. Your explanation should include an explanation of the {:d}, {:f} and {:E} operators.

5. Discuss what your team could do better during the activity, to make it easier to write this reference at the end of the activity.