IPython Documentation

Table Of Contents

Previous topic

Module: lib.backgroundjobs

Next topic

Module: lib.deepreload

This Page


This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: lib.clipboard

Utilities for accessing the platform’s clipboard.

3 Functions


Get the current clipboard’s text on Windows.

Requires Mark Hammond’s pywin32 extensions.


Get the clipboard’s text on OS X.


Get the clipboard’s text using Tkinter.

This is the default on systems that are not Windows or OS X. It may interfere with other UI toolkits and should be replaced with an implementation that uses that toolkit.