repl.it
@avinashbasutkar/

Copying and Pasting Strings with the Pyperclip Module

Python

Chapter 6

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
'''
30 Sep 2017

COPYING AND PASTING STRINGS WITH PYPERCLIP MODULE 

The pyperclip() has copy() and paste() functions that can send text to and receive text from your computer's clipboard. 
Sending the output of your program to the clipboard will make it easy to paste it to an email, word processor, or some other software. 

'''

import pyperclip
pyperclip.copy('Avinash Basutkar')
pyperclip.paste()