def paste(location):
copyData = settings.getDataFile()<EOL>if not location:<EOL><INDENT>location = "<STR_LIT:.>"<EOL><DEDENT>try:<EOL><INDENT>data = pickle.load(open(copyData, "<STR_LIT:rb>"))<EOL>speech.speak("<STR_LIT>" + data["<STR_LIT>"] + "<STR_LIT>")<EOL><DEDENT>except:<EOL><INDENT>speech.fail("<STR_LIT>")<EOL>speech.fail("<STR_LIT>")<EOL>return<EOL><DEDENT>process, error = subprocess.Popen(["<STR_LIT>", "<STR_LIT>", data["<STR_LIT>"], location], stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()<EOL>if "<STR_LIT>" in process:<EOL><INDENT>speech.fail("<STR_LIT>")<EOL><DEDENT>
paste a file or directory that has been previously copied