Questions tagged [pyperclip]

A cross-platform clipboard module for Python.

Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.

More information:

191 questions
0
votes
1 answer

ModuleNotFoundError: No module named 'pyperclip' in spite of an installation

Windows 10, python 3.6.4 I get ModuleNotFoundError: No module named 'pyperclip' when i run a program. When I type pip list and pip freeze in command prompt pyperclip (1.6.0) is shown as installed. When I type pip install pyperclip in command prompt…
0
votes
1 answer

Making A Pyperclip Button in Flask

I'm building a web app right now that has a couple of text-fields that I would ideally like to be able to copy (individually) using a "copy" button next to each field. Right now I'm attempting to write a Pyperclip function in my main file, and then…
Marc Monforte
  • 11
  • 1
  • 5
0
votes
1 answer

Trouble while running python program

I have made a program asp.py and imported pyperclip module : import pyperclip pyperclip.copy('hrllo world') pyperclip.paste() and when I run this from terminal, with python3 asps.py it does not display any result what could be the reason that…
0
votes
0 answers

Using the pyperclip moudel shows gremlin when chinese in clipboard

I have an issue that exists only on the MacOs. It works fine on Windows. I am using python3. Here is the code: # coding=utf-8 # using address you inputed to open a web map site import webbrowser, sys, pyperclip if len(sys.argv) > 1: #get…
Z.Keyi
  • 1
  • 1
0
votes
1 answer

Pyperclip - IDLE 3 on Ubuntu

I am new to python and having trouble installing pyerclip on ubuntu. The terminal shows following error. pip3 install pyperclip Collecting pyperclip Installing collected packages: pyperclip Exception: Traceback (most recent call last): File…
umair
  • 3
  • 1
0
votes
1 answer

pyperclip installed but not working in my batch file

I have installed pyperclip, and it works when I use IDLE >>> import pyperclip >>> pyperclip.copy('hello') >>> pyperclip.paste() 'hello' >>> but when I use my batch file it says that there is no module named pyperclip Traceback (most recent call…
Lucas Johns
  • 73
  • 1
  • 1
  • 4
0
votes
3 answers

Python 3 Pyperclip

I am very new to Python and I am going through the "Automate the Boring Stuff with Python" book (https://automatetheboringstuff.com/chapter6/). I am working on the Password Locker project and having difficulties with the pyperclip module. I am…
K123
  • 31
  • 1
  • 3
0
votes
2 answers

PYTHON - pyperclip installing issue

I'm following a course on Udemy: Automate the Boring Stuff using Python. For one of the courses the guide asks me to install Pyperclip. Now I've tried this, but cmd keeps returning: " 'pip' is not recognized as an internal or external command,…
Scott van Duin
  • 81
  • 1
  • 12
0
votes
0 answers

Python 2.7 pyperclip loop

this is the current code: import time import sys import os sys.path.append(os.path.abspath("SO_site-packages")) import pyperclip recent_value = "" while True: tmp_value = pyperclip.paste() if not tmp_value = recent_value: …
user8823903
0
votes
3 answers

Installing PIP Modules

I am having trouble installing any PIP module. Steps/Precautions I have taken: I uninstalled Python and downloaded the most recent Python 3.6.2. PIP seems to be installed already…
Daniel Connelly
  • 206
  • 2
  • 10
0
votes
0 answers

Unable to print in the desired manner using Pyperclip Module

I am using python 2.7.13. I am using Pyperclip Module to copy/paste text on a notepad (just for experimentation). This is what I am trying to do: a=['ayush','gupta'] pyperclip.copy('\n'.join(a)) #It should print ayush and gupta in separate…
0
votes
1 answer

Error installing Pyperclip in Python

I'm getting an error installing Pyperclip for Python: Windows OS 64-bit: 7 Python version: 3.6.1 Changed directories to scripts tried attempts like this: pip.exe install pyperclip python -m pip install pyperclip I'm getting a problem confirming…
j man
  • 15
  • 4
0
votes
3 answers

Solving a ModuleNotFoundError

I'm getting a ModuleNotFoundError for my module pyperclip. When I run pip install on it, I get a message saying I've already installed it so I'm not exactly sure why Python isn't finding it. When I run my program on PyCharm, it runs fine. How do I…
Ricardo
  • 1
  • 4
0
votes
1 answer

Python ATBS Ch 8 Multiclipboard

Hey guys I'm working with this textbook Automate the Boring Stuff and I've made it all the way to chapter 8 with no problems, but I'm having trouble with the Multiclipboard Project. Specifically, how do I start it? I type py mcb.pyw save spam into…
LiteCoder
  • 1
  • 2
0
votes
1 answer

sublimeREPL can not import _ctypes

I'm trying to import pyperclip in a python REPL tab of sublime text 3, but I get the following error: Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for…
AXO
  • 8,198
  • 6
  • 62
  • 63
1 2 3
12
13