parameters: (cls)
docstring: Select the best ScriptWriter for this environment.
docstring_summary: Select the best ScriptWriter for this environment.
docstring_tokens: Select the best ScriptWriter for this environment .
function: def best(cls):
          """
          Select the best ScriptWriter for this environment.
          """
          if sys.platform == 'win32' or (os.name == 'java' and os._name == 'nt'):
              return WindowsScriptWriter.best()
          else:
              return cls
function_tokens: def best ( cls ) : if sys . platform == 'win32' or ( os . name == 'java' and os . _name == 'nt' ) : return WindowsScriptWriter . best ( ) else : return cls