python windows clip tools(calling native windows command
Project description
PyXhWinClipTool
Installation
pip install pyXhWinClipTool -U
# Or
pip3 install pyXhWinClipTool -U
Demo
# Help
python -m pyXhWinClipTool --help
# Copy to clipboard
echo "msg" | python -m pyXhWinClipTool --copy
# Or
echo "msg" | python -m pyXhWinClipTool -c
# Retrieve data from clipboard
python -m pyXhWinClipTool --paste
# Or
python -m pyXhWinClipTool -p
Source Description
The pyXhWinClipTool is simple. It is just a wrapper to windows existing command for operate with clipboard.
Copy
In windows, we could use command 'clip' to copy text to clipboard. e.g.
echo "hihi" | clip
Paste
In windows, we could use command 'powershell' to retrieve text from clipboard. e.g.
powershell get-clipboard
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyXhWinClipTool-0.0.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pyXhWinClipTool-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee04f8cc22dfb07cd1560281c715ea5dbde5206c8d04534a702c91540a73ef9 |
|
MD5 | 9d9e0e3f65f82b1fee01e1a0b0a2d92f |
|
BLAKE2b-256 | 84333718ea1835194eb5b231113eaab19c04eeae414ad118dad8223b45143043 |