title: How to ignore the same name directory __pycache__ in a project?
body: <p>The <code>__pycache__</code> directory is annoying when working with git updates. Whenever I use <code>git status</code>, a lot of .pyc files show up. How can I conveniently list the <code>__pycache__</code> folder in my <code>.gitignore</code> file so that they won't show up when using <code>git status</code>?</p>
  
  <p>For example:</p>
  
  <pre><code>core/__pycache__/utils.cpython-36.pyc
  core/__pycache__/version.cpython-36.pyc
  core/actions/__pycache__/__init__.cpython-36.pyc
  core/actions/__pycache__/action.cpython-36.pyc
  </code></pre>
  
  <p>Do I have to list all the individual <code>__pycache__</code>files into the gitignore file? </p>