I\'m using Python on Windows and I want a part of my script to copy a file from a certain directory (I know its path) to the Desktop.
I used this:
sh
For 3.5+ you can use pathlib:
import pathlib desktop = pathlib.Path.home() / 'Desktop'