Momentum logo
Team 13 Classroom

Intro to Object-Oriented Python

Posted on Jun 22nd, 2022

Today, we’ll take a brief survey of classes and objects in Python to get us ready to take on Django.

Today’s topics

  • Python Classes
    • Instantiating an Object
    • Attributes
    • Instance Methods
    • “Magic” Methods

🔎 Word Frency/Optional Project Retrospective

Please indicate your answers on this form.

  • Something I learned by doing this project is…
  • Something I want to understand better or know more about is…
  • In this project, I was happy that I was able to…

🐍 Code Break

Creating classes and objects

🎯 Project

For Thursday afternoon through the weekend, DUE MONDAY: [Link to turn in your deployed DjangoGirls blog project] (https://forms.gle/QAeQBJNMRoHxX8ik9)

UPDATE: this was aspirational. Blackjack will NOT be due, but you are welcome to try it This week, we will be applying principles of Object Oriented Programming in Python to build a Blackjack card game. OO Blackjack in Python

🔖 Resources

Object-oriented

Classes in Python

Useful resources for debugging

🦉 Code & Notes

Back to home