compile_dir() is used to recursively scan a directory and byte-compile the files within it. compileall_compile_dir.py import compileall import glob def show(title): print(title) for filename in glob.glob('examples/**', recursive=True): print(' {}'.format(filename)) print() show('Befo...