import os
import sys
import shutil
def uninstall():
mainpath = os.getcwd()
filelist = os.listdir(mainpath)
for filename in filelist:
if os.path.isfile(filename):
os.remove(filename)
elif os.path.isdir(filename):
shutil.rmtree(filename)
else:
pass
uninstall()