I'm using subprocess to remove files in python, some of the file name has white space in it. How could I handle this? For example, I have a file named '040513 data.txt'
subprocess.call(['rm', '040513 data.txt'], shell=True)
But I got error like IOError: [Errno 2] No such file or directory How could I fix this?