Platform independent copy + paste library for Python
Project description
Platform independent copy + paste library for Python This library is easier and more powerful than xerox, I think :).
Supported:
OS X (pbcopy + pbpaste)
Linux (required xclip)
Windows (required pywin32 or IronPython)
Install
pip install copypaste
Usage
>>> from copypaste import copy, paste >>> >>> copy('I\'m here to make web a better place!!') >>> paste() "I'm here to make web a better place!!" >>> >>> # Only for UNIX like systems you can specify your own command for copy and paste >>> copy('I\'m here to make web a better place!!', cmd=['xsel', '-pi']) >>> paste(cmd=['xsel', '-o']) "I'm here to make web a better place!!" >>>
License
copypaste is licensed under the MIT license. See the license file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
copypaste-0.1.zip
(6.8 kB
view details)
File details
Details for the file copypaste-0.1.zip
.
File metadata
- Download URL: copypaste-0.1.zip
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
adb39d0cd374eeaec0eff1f4610d34f9c87c935510817d49edebb64a5ebc8929
|
|
MD5 |
0e471cba184e353bb9541e35402789ce
|
|
BLAKE2b-256 |
bff1f263389e4cdff78c3076f9b62c5b902b22a220e07c62ff2d53f16cd2c5ec
|