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.3.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for pyXhWinClipTool-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014ea814f5629c10612b1d2905a7a7194fa355272f82b64b5174a0a2753a5c66 |
|
MD5 | 78f34ae845d4405d81928a0383b8db26 |
|
BLAKE2b-256 | 300438c9122ee632928c2c3ef5aa5431c17bf69612a5380473dbcfafa1acff1c |