IPython Documentation

Table Of Contents

Previous topic

Module: lib.backgroundjobs

Next topic

Module: lib.deepreload

This Page

Warning

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

IPython.lib.clipboard.win32_clipboard_get()

Get the current clipboard’s text on Windows.

Requires Mark Hammond’s pywin32 extensions.

IPython.lib.clipboard.osx_clipboard_get()

Get the clipboard’s text on OS X.

IPython.lib.clipboard.tkinter_clipboard_get()

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.