  """ The master tools.py script """
  import sys
  # Importing the various tools
  import tools.cli as cli
  from lib.cli import FullHelpArgumentParser, GuiArgs
  
  # Python version check
  if sys.version_info[0] < 3:
      raise Exception("This program requires at least python3.2")
  if sys.version_info[0] == 3 and sys.version_info[1] < 2:
 
</s> remove def bad_args(args):
 </s> add def bad_args(args):  # pylint:disable=unused-argument </s> remove from lib.cli import (ContextFullPaths, DirFullPaths, FileFullPaths, FilesFullPaths,
                     SaveFileFullPaths, Radio, Slider)
 </s> add from lib.cli import (ContextFullPaths, DirOrFileFullPaths, DirFullPaths, FileFullPaths,
                     FilesFullPaths, SaveFileFullPaths, Radio, Slider) </s> remove logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove from .utils import adjust_wraplength, get_config, get_images, ContextMenu, set_slider_rounding
 </s> add from .utils import adjust_wraplength, get_config, get_images, ControlBuilder
from lib.cli import FullHelpArgumentParser
  """ The master tools.py script """
  import sys
  # Importing the various tools
  import tools.cli as cli
from lib.cli import FullHelpArgumentParser
  
  # Python version check
  if sys.version_info[0] < 3:
      raise Exception("This program requires at least python3.2")
  if sys.version_info[0] == 3 and sys.version_info[1] < 2:
keep keep keep keep replace keep keep keep keep keep
 Convert settings tool (#737)

* Initial prediction pipeline and display

* Patch faces from convert pipeline. Load configs

* Add tkinter canvas for image display

* Radio buttons to config gui. Standardise config gui. Remove dssim loss from realface

* Add action frame

* Live update cli options

* Live update config changes

* Quicker frame loading. Refresh faces button callback

* remove debug code

* Add saving and reloading config buttons

* Reduce lag with threading

* Busy indicator + geometry updates

* Fix options canvas resizing

* Add global config saving and resetting

* tools to own tab

* Rename tool to 'preview'

* geometry tweak

* pep8 fixes 
tools.py