In this excerpt from his Oriole online tutorial, Aaron Maxwell uses the Panda’s library to illustrate how Python’s syntax, which lets classes define how they behave when used with built-in binary operators like less-than (<), allows you to create custom, easy-to-use interfaces.

Register for Aaron Maxwell's online trainings on Safari: Python: Beyond the Basics and Python: The Next Level. You’ll learn skills to amplify your code and master Python’s most powerful traits and features.