import os, shutil

files = ["/etc/crontab",
         "/usr/local/bin/ssu", "/usr/local/bin/xyzzy",
         "/home/dagon/.bashrc","/home/dagon/.i3status.conf", "/home/dagon/.profile", "/home/dagon/.vimrc", "/home/dagon/.i3/config", "/home/dagon/.vim",
         "/home/dagon/.config/bless", "/home/dagon/.config/terminator", "/bla.txt"]

for item in files:
    dest = os.getcwd() + item
    if os.path.isdir(item):
        try:
            shutil.rmtree(dest)
        except: pass
        shutil.copytree(item, dest)
    else:
        try:
            os.remove(dest)
        except: pass
        shutil.copyfile(item, dest)

import os, shutil

files = ["/etc/crontab",
         "/usr/local/bin/ssu", "/usr/local/bin/xyzzy",
         "/home/dagon/.bashrc","/home/dagon/.i3status.conf", "/home/dagon/.profile", "/home/dagon/.vimrc", "/home/dagon/.i3/config", "/home/dagon/.vim",
         "/home/dagon/.config/bless", "/home/dagon/.config/terminator"]

for item in files:
    dest = os.getcwd() + item
    if os.path.isdir(item):
        try:
            shutil.rmtree(dest)
        except: pass
        shutil.copytree(item, dest)
    else:
        try:
            os.remove(dest)
        except: pass
        shutil.copyfile(item, dest)

Remove test item from config grabbing script
Remove test item from config grabbing script

  import os, shutil
  
  files = ["/etc/crontab",
           "/usr/local/bin/ssu", "/usr/local/bin/xyzzy",
           "/home/dagon/.bashrc","/home/dagon/.i3status.conf", "/home/dagon/.profile", "/home/dagon/.vimrc", "/home/dagon/.i3/config", "/home/dagon/.vim",
-          "/home/dagon/.config/bless", "/home/dagon/.config/terminator", "/bla.txt"]
+          "/home/dagon/.config/bless", "/home/dagon/.config/terminator"]
  
  for item in files:
      dest = os.getcwd() + item
      if os.path.isdir(item):
          try:
              shutil.rmtree(dest)
          except: pass
          shutil.copytree(item, dest)
      else:
          try:
              os.remove(dest)
          except: pass
          shutil.copyfile(item, dest)
  
Remove test item from config grabbing script
## Code Before:
import os, shutil

files = ["/etc/crontab",
         "/usr/local/bin/ssu", "/usr/local/bin/xyzzy",
         "/home/dagon/.bashrc","/home/dagon/.i3status.conf", "/home/dagon/.profile", "/home/dagon/.vimrc", "/home/dagon/.i3/config", "/home/dagon/.vim",
         "/home/dagon/.config/bless", "/home/dagon/.config/terminator", "/bla.txt"]

for item in files:
    dest = os.getcwd() + item
    if os.path.isdir(item):
        try:
            shutil.rmtree(dest)
        except: pass
        shutil.copytree(item, dest)
    else:
        try:
            os.remove(dest)
        except: pass
        shutil.copyfile(item, dest)

## Instruction:
Remove test item from config grabbing script
## Code After:
import os, shutil

files = ["/etc/crontab",
         "/usr/local/bin/ssu", "/usr/local/bin/xyzzy",
         "/home/dagon/.bashrc","/home/dagon/.i3status.conf", "/home/dagon/.profile", "/home/dagon/.vimrc", "/home/dagon/.i3/config", "/home/dagon/.vim",
         "/home/dagon/.config/bless", "/home/dagon/.config/terminator"]

for item in files:
    dest = os.getcwd() + item
    if os.path.isdir(item):
        try:
            shutil.rmtree(dest)
        except: pass
        shutil.copytree(item, dest)
    else:
        try:
            os.remove(dest)
        except: pass
        shutil.copyfile(item, dest)
