title: Python: Make a class to read files in a directory
body: <p>I am trying to teach myself how to make classes in Python. I am currently able to write a class that enables me to draw multiple shapes using the same class which is pretty basic.</p>
  
  <p>I am having trouble with more advanced tasks using classes, for instance I would like to be able to make a class which includes functions such as how many files are in a particular directory.</p>
  
  <p>I guess my question is How would I make a class that reads into a directory and tell me how many files are in the directory?</p>
  
  <p>Thanks, sorry if it isnt clear</p>