Trying to remove all of the files in a certain directory gives me the follwing error:
OSError: [Errno 2] No such file or directory: \'/home/me/test/*\
star is expanded by Unix shell. Your call is not accessing shell, it's merely trying to remove a file with the name ending with the star