File Processing & Exception Handling- A level
File Processing & Exception Handling- A level
Exception Handling
Further Programming
Key terms
• Read (To check data)
• Write (To correct data)
• Append (To add data)
• Open (To choose data)
• Close ( To stop edits)
Reading File
Pseducode Python
studentFile = read(‘student.DAT’)
OPEN studentFile FOR READ
• No particular command for Comparison • Has to meantion what they are
reading
doing with the file after
Write File
Pseducode Python
Studentfile = Studentfile.append(“Hi
Studentfile APPEND”HI THERE” Comparison there”)
Open File
Pseducode Python