The compileall module finds Python source files and compiles them to the byte-code representation, saving the results in .pyc . Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.