I want to copy a file named "info.txt"
in the directory "D:/documents"
to the clipboard but i don't want the end user to go through the hassle of copying it themselves. Instead, i want a python script to do it for them. How am I supposed to do that? Also, i don't want to copy the content of the file but the file itself. Is there a function in pyperclip
that can do that or should i code something myself? I am also using windows 10 just in case the operating system matters.
as I said, i do not want to copy any string, all i want is to copy the file to my clipboard
Asked
Active
Viewed 83 times
0

pert
- 65
- 7
-
If you want, you can check out for [my question](https://stackoverflow.com/questions/68164678/how-to-copy-cut-folder-from-one-folder-to-another-using-ctrlc-and-ctrlv) – Jul 28 '21 at 16:03
-
@ti7, i do not mean to copy text but a file to the clipboard – pert Jul 28 '21 at 16:18