Okay, this is what I need to do, and I keep getting confused.
I need to remove all files in a folder, then delete the folder, it's part of an installer I'm making, and it creates a directory, I just don't know how to delete it. This is what I have right now:
curDir = os.getcwd()
os.remove(os.path.join(curDir, *)
So it will remove all the files in the directory it is in. How do I use the wildcard to make it all files in the directory? And then how do I delete the directory?
Also, how would I copy the script to another location?
Any help would be much appreciated!