code: def removeDuplicates(variable):
      """Remove duplicate values of an environment variable."""
      oldList = variable.split(os.pathsep)
      newList = []
      for i in oldList:
          if i not in newList:
              newList.append(i)
      newVariable = os.pathsep.join(newList)
      return newVariable
  
imports: import os
  import subprocess
  import sys
  import re
  import warnings
  from .errors import DistutilsExecError, DistutilsPlatformError, CompileError, LibError, LinkError
  from .ccompiler import CCompiler, gen_lib_options
  from ._log import log
  from .util import get_platform
  import winreg
label_desc: Use image node_id 3 for calling a global function with example usage: removeDuplicates(variable) and returns: newVariable