Member-only story

Auto copy paste using Python

Python Coding
Aug 20, 2024

--

import pyperclip as pc

text1 = input("Enter a text : ")

pc.copy(text1)

text2 = pc.paste()

print(text2)

Hello Clcoding

--

--

Python Coding
Python Coding

Written by Python Coding

Learn python tips and tricks with code I Share your knowledge with us to help society. Python Quiz: https://www.clcoding.com/p/quiz-questions.html

No responses yet