Skip to content

paulcunnane/xerox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xerox: Copy + Paste for Python

Xerox is a copy + paste module for python. It's aim is simple: to be as incredibly simple as possible.

Supported platforms are currently OS X, Linux, and Windows.

If you can make it simpler, please fork.

Usage

Usage is as follows:

xerox.copy(u'some string')

And to paste:

>>> xerox.paste()
u'some string'

And, that's it.

Command Line

To copy:

xerox some string

or:

echo some string | xerox

To paste:

>>> xerox
some string

Installation

To install Xerox, simply:

$ pip install xerox

Or, if you must:

$ easy_install xerox

Note: If you are installing xerox on Windows, you will also need to install the pywin32 module.

Legal Stuff

MIT License.

(c) 2012 Kenneth Reitz.

About

Copy + Paste in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published