Matthew
Feliciano
Instructor: Randal Root
IT
FDN 100 A
08
August 2016
For
this week’s assignment we were asked to:
1)
Research Exception handling in Python:
a. Search
the web for examples of how to use Python’s Exception handing features.
2)
Research Pickling in Python:
a. Search
the web for examples of how to use Python’s Pickling features.
3)
Create a simple example of how you would
use Python Exception Handling.
4)
Create a simple example of how you would
use Python Pickling.
5)
Create a simple Blog on Google’s Blogger
to outline the steps you took in performing this assignment.
First I created a simple example of how you would use Python Exception Handling.
Using the try/except allows you to run your process in the try block and if it throws an capture the exception and print it to the user.
Using the try/except allows you to run your process in the try block and if it throws an capture the exception and print it to the user.
For a
list of Built-in Exceptions see Python Documentation HERE
Next I created a simple example of how you would use Python Pickling.
Next I created a simple example of how you would use Python Pickling.