from __future__ import absolute_import, division, print_function
import distutils.dir_util
import sys, os

def run():
  for arg in sys.argv[1:]:
    if (os.path.isfile(arg)):
      os.remove(arg)
    elif (os.path.isdir(arg)):
      distutils.dir_util.remove_tree(arg)

if (__name__ == "__main__"):
  run()
