On 1/6/2019 6:20 PM, Avi Gross wrote:

I suspect there is some python tool that can go through a directory
structure of python code and produce appropriate byte code files in one
sweep.

import compileall
help(compileall)

The Windows installer optionally runs it. It is usually needed if one does an all-users install into Program Files, as non-admin users cannot cause .pyc files to be writen therein.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to