Python Classes and Methods Python is an “object-oriented programming language.” This means that almost all the code is implemented using a special construct called classes . Programmers use classes to keep related things together. This is done using the keyword “class,” which is a grouping of object-oriented constructs.