 Classes are designed to help build modular code  Can be defined within a module that also contains application code  Multiple classes can be defined in the same file  In this course, we will typically store each class in their own module  To use the class in another module, you will need to import the module 4COMPSCI 105 - Principles of Computer Science class Point: pass Saved in a file called Geometry.py from Geometry import Point p = Point() Use the class like this
{}