code: def is_pythonw(filename):
      
      pattern = r'.*python(\d\.?\d*)?w(.exe)?$'
      if re.match(pattern, filename, flags=re.I) is None:
          return False
      else:
          return True
docs: Check that the python interpreter has 'pythonw'.