code: def _delete_compiled_python_files():
      
      for path, _, files in os.walk(os.getcwd()):
          for fname in [f for f in files if os.path.splitext(f)[1] == ".pyc"]:
              try:
                  os.remove(os.path.join(path, fname))
              except OSError:
                  pass
docs: Remove files with a 'pyc' extension.