# Install win32clipboard # pip install pywin32 import win32clipboard as cp cp.OpenClipboard() if cp.IsClipboardFormatAvailable(cp.CF_HDROP): files_paths = cp.GetClipboardData(cp.CF_HDROP) print(files_paths) cp.CloseClipboard()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter