Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I copy a string? #251

Open
PacoH opened this issue Oct 3, 2023 · 1 comment
Open

How can I copy a string? #251

PacoH opened this issue Oct 3, 2023 · 1 comment

Comments

@PacoH
Copy link

PacoH commented Oct 3, 2023

cstr = "<string>"

Doesn't work:
pyperclip.copy(cstr)
pyperclip.copy('cstr')

@stevenson007
Copy link

It does work.

import pyperclip
my_name = ""
pyperclip.copy(my_name)

Pressing Ctrl + V

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants