def get_csv_directory(args):
 if (not args.verbose):
  return
 csvdir = args.directory
 got_from = 'command line'
 if (csvdir is None):
  (csvdir, got_from) = defaults.get_default_csv_dir_with_origin()
 print(('Using CSV directory %(csvdir)s (from %(got_from)s)' % dict(csvdir=csvdir, got_from=got_from)))
 return csvdir

def get_csv_directory ( args ) : if ( not args . verbose ) : return csvdir = args . directory got_from = 'command line' if ( csvdir is None ) : ( csvdir , got_from ) = defaults . get_default_csv_dir_with_origin ( ) print ( ( 'Using CSV directory %(csvdir)s (from %(got_from)s)' % dict ( csvdir = csvdir , got_from = got_from ) ) ) return csvdir
prints and returns the csv directory were about to use .