DEV Community

dongdiri
dongdiri

Posted on • Edited on

DAY11: Python day 15 & 16

I entered the intermediate level!
I started using PyCharm–there are now a lot of files and classes, so I cannot attach a code for my project. Instead, I will add some more detail to my notes, as most of the contents should now be unfamiliar and I can revisit them.

Day 16: coffee machine making
First project that I struggled with and spent a lot of time on. I should utilize for() loops better.

Day 17: Object-Oriented Programming(OOP)

  • an object contains attributes(variables) and methods(functions)

  • create an object from a class

import turtle
timmy = turtle.Turtle()
Enter fullscreen mode Exit fullscreen mode
  • tap into an attribute and method of an object by . notation

  • exploring PyPi and finding Python Packages

  • install package through preferences --> Python Interpreter --> "+"

Top comments (0)