Programming
and Algorithms: Week 5
What are we doing this week?
This
week we are going to look at how Python does FILE MANAGEMENT, and also
how it manages EXCEPTION HANDLING.
Total running time of videos is 30 minutes.
Python: Reading and Writing Files
Python: Exception Handling
|
Online
Interpreter:
Sample
Code:
File Reading (Example
1, Example 2,
Example 3,
Example 4,
Example 5,
Example 6,
Example 7)
* Binary File Reading
* File Writing (Example 1,
Example 2,
Example 3,
Example 4,
Example 5)
* Exception Handling (Example
1, Example
2, Example
3, Example
4, Example
5, Example
6, Example
7)
Sample
Files:
MyData.txt
* MyData2.txt * Python.gif
|
Lab
#5
Lab
#5 is all about checking if you can read and write to a file.
|
If you have any suggestions, corrections, or
comments, please feel free to e-mail me at:
Damian.Gordon(a)dit.ie
|
|