title: What is a Turtle Object?
body: <p>The book i'm reading is called Think Python 2. The author keeps on mentioning objects but i still do not understand what they actually are.... The code reads as follows</p>
  
  <pre><code>import turtle
  bob = turtle.Turtle()
  print(bob)
  turtle.mainloop()
  </code></pre>
  
  <p>"The turtle module (with a lowercase ’t’) provides a function called Turtle (with an uppercase ’T’) that creates a Turtle object."</p>
  
  <p>So what this means is that the module defined the function Turtle, and when it was defined it created a function object 'Turtle'?</p>
  
  <p>"which we assign to a variable named bob. Printing bob displays something like</p>
  
  <pre><code>turtle.Turtle object at 0xb7bfbf4c
  </code></pre>
  
  <p>This means that bob refers to an object with type Turtle as defined in module turtle."</p>
  
  <p>I can't understand what is he doing atm... Is he assigning the return value of Turtle()function to a variable called Bob?
  And why is bob's type Turtle? Isn't it type function? As when you define a function it creates a function object in this case "Turtle" of type "Function"...</p>
  
  <p>I'm kinda messed up. What am i missing?</p>