parameters: (cmd, *args)
docstring: For some reason, Python won't allow an exec() within a function
      that also declares an internal function (including lambda functions).
      This function is a hack that calls exec() in a function with no
      internal functions.
docstring_summary: For some reason, Python won't allow an exec() within a function
      that also declares an internal function (including lambda functions).
      This function is a hack that calls exec() in a function with no
      internal functions.
docstring_tokens: For some reason Python won t allow an exec () within a function that also declares an internal function ( including lambda functions ) . This function is a hack that calls exec () in a function with no internal functions .
function: def HACK_for_exec(cmd, *args):
      '''
      For some reason, Python won't allow an exec() within a function
      that also declares an internal function (including lambda functions).
      This function is a hack that calls exec() in a function with no
      internal functions.
      '''
      if not args:          exec(cmd)
      elif len(args) == 1:  exec cmd in args[0]
      else:                 exec cmd in args[0], args[1]
function_tokens: def HACK_for_exec ( cmd , * args ) : if not args : exec ( cmd ) elif len ( args ) == 1 : exec cmd in args [ 0 ] else : exec cmd in args [ 0 ] , args [ 1 ]