Beginning with Python 3.5 .pyo files are no longer used and have been replaced by a more flexible scheme that includes the optimization level explicitly in .pyc name (See PEP-488).
Beginning with Python 3.5 .pyo files are no longer used and have been replaced by a more flexible scheme that includes the optimization level explicitly in .pyc name (See PEP-488).