parameters: (args)
return_statement: return targetPaths
docstring: extract real target path list from args
docstring_summary: extract real target path list from args
docstring_tokens: extract real target path list from args
function: def GetRealTargetPaths(args) :
      "extract real target path list from args" 
      if len(args) == 0 :
          ShowMessageAndExit("Error! : Target directory must be provided")
      targetPaths = []
      for eachTarget in args :
          realPath = os.path.realpath(eachTarget)
          targetPaths.append(realPath)                           
  #       CheckPathPermission(realPath, "Target directory")
          if not os.path.exists(realPath) :
              ShowMessageAndExit("Error! : Target directory %s is not exists" % eachTarget)
      return targetPaths
function_tokens: def GetRealTargetPaths ( args ) : if len ( args ) == 0 : ShowMessageAndExit ( "Error! : Target directory must be provided" ) targetPaths = [ ] for eachTarget in args : realPath = os . path . realpath ( eachTarget ) targetPaths . append ( realPath ) #       CheckPathPermission(realPath, "Target directory") if not os . path . exists ( realPath ) : ShowMessageAndExit ( "Error! : Target directory %s is not exists" % eachTarget ) return targetPaths