          for i in tqdm(range(0, len(img_list)), desc=description, leave=False, file=sys.stdout):
              src = img_list[i][0]
              src_basename = os.path.basename(src)
  
              dst = os.path.join (output_dir, '%.5d_%s' % (i, src_basename ) )
              try:
                  process_file (src, dst, self.changes)
              except FileNotFoundError as e:
                  print(e)
                  print ('fail to rename %s' % (src) )
 
</s> remove                 process_file (src, dst, self.changes)
 </s> add                 process_file(src, dst, self.changes) </s> remove         for i in tqdm( range(0,len(img_list)) , desc=description, file=sys.stdout):
            renaming = self.set_renaming_method(self.arguments.log_changes)
 </s> add         for i in tqdm(range(0, len(img_list)), desc=description, file=sys.stdout):
            renaming = self.set_renaming_method(self.args.log_changes) </s> remove                 print ('fail to rename %s' % (src) )
 </s> add                 print('fail to rename {}'.format(src)) </s> remove                 src_basename = os.path.basename (src)
 </s> add                 src_basename = os.path.basename(src) </s> remove                 os.rename (src, dst)
 </s> add                 os.rename(src, dst)
            dst = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
          for i in tqdm(range(0, len(img_list)), desc=description, leave=False, file=sys.stdout):
              src = img_list[i][0]
              src_basename = os.path.basename(src)
  
            dst = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
              try:
                  process_file (src, dst, self.changes)
              except FileNotFoundError as e:
                  print(e)
                  print ('fail to rename %s' % (src) )
keep keep keep keep replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
tools/sort.py