title: Capitalization of filenames storing Python classes
body: <p><strong>C++</strong></p>
  
  <p>I use a rigorous rule of capitalizing class names.</p>
  
  <p>Over many years I tried to use the somewhat inconsistent rule of using lowercase names for the files—when writing in C++.</p>
  
  <p>For example, <code>class Stopwatch</code> would be in the files <code>stopwatch.hpp</code> and <code>stopwatch.cpp</code>.</p>
  
  <p>I am not sure at this point how or why I found that this is awkward, but I'm reasonably sure that it turned out to be. I use exactly the same case for the files. One benefit is that it helps avoid <a href="https://stackoverflow.com/q/38309106/704972">annoying issues</a> in version control on OS X.</p>
  
  <p><strong>Python</strong></p>
  
  <p><a href="https://www.python.org/dev/peps/pep-0008/" rel="noreferrer">PEP 8</a> recommends lowercase names for modules and packages. It makes no recommendations regarding filenames holding classes.</p>
  
  <p>Is there such a recommendation or some best practices?</p>