Posts

Assignment07: Exception Handling and Pickling

For Assignment07, we were tasked with researching online and then writing two simple Python code examples that illustrate: how to use Python's exception handling features how to use Python's "pickling" features After watching Randal's lecture videos and reading Chapter 7 from Michael Dawson's Python Programming for the Absolute Beginner, Third Edition , I ran a few Google searches on the two topics to find tutorials, hopefully for beginners! For exception handling , I read (or tried to read, at least!) the following web pages: https://docs.python.org/3/tutorial/errors.html (this one was advanced) https://www.codementor.io/sheena/how-to-write-python-custom-exceptions-du107ufv9 (this one was pretty basic) https://julien.danjou.info/python-exceptions-guide/ (this one was crazy advanced!) For using the pickle module , I read the following web pages: https://pythonprogramming.net/python-pickle-module-save-objects-serialization/ https://wiki...
Recent posts