Python Forum
clipboard module in python3.6 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: clipboard module in python3.6 (/thread-3253.html)



clipboard module in python3.6 - bmohanraj91 - May-09-2017

my question here
I would like to know how to find built in modules in a particular python version.

I am trying to import pyperclip or clipboard module in python3.6, but I am getting ModuleNotFoundError.

Also downloaded the pyperclip-1.5.27.zip extracted it and placed it in the directory where the program that uses the module resides, but still getting ModuleNotFoundError.


m
import sys, webbrowser, pyperclip

if len(sys.argv) > 1:
  address = ' '.join(sys.argv[1:])
else:
  address = pyperclip.paste()

webbrowser.open('http://maps.google.com/place'+address)



RE: clipboard module in python3.6 - volcano63 - May-09-2017

(May-09-2017, 05:03 AM)bmohanraj91 Wrote: Also downloaded the pyperclip-1.5.27.zip extracted it and placed it in the directory where the program that uses the module resides

Python packages must be installed. On Linux
sudo pip3 install pyperclip