In this tutorial, you will learn about imports in Python, get some tips for working with unfamiliar libraries (and the objects they return), and dig into operator overloading.

Imports

Other import syntax

Submodules

Oh, the places you'll go, oh the objects you'll see.

Three tools for understanding strange objects.

Operator overloading

When does 1 + 1 not equal 2?

Curious how it all works?

Your turn!

Head over to the final coding exercise for one more round of coding questions involving imports, working with unfamiliar objects, and, of course, more gambling.


Have questions or comments? Visit the course discussion forum to chat with other learners.

Exercise: Working with External Libraries