What is __pycache__, and why does Python generate .pyc files?

Technical