Hello All,
I facing problem while importing the module in Brython. I am importing the "Pyperclip" module as below -
<body onload="brython(1)">
<script type="text/python">
from browser import doc
import pyperclip
def copy_to_clipboard(event):
logging.info('Copied to clipboard')
pyperclip.copy(document["copy_to_clipboard_button"].value)
spam = pyperclip.paste()
document['id_copy_text_box'].bind('click', copy_to_clipboard)
</script>
</body>
Below is the error which is coming up -
2015-11-24 10:08:16,066 - INFO - 127.0.0.1 - - [24/Nov/2015 10:08:16] "POST /respose_CR_superuser HTTP/1.1" 200 -
2015-11-24 10:08:16,262 - INFO - 127.0.0.1 - - [24/Nov/2015 10:08:16] "GET /pyperclip.py?v=3 HTTP/1.1" 404 -
2015-11-24 10:08:16,267 - INFO - 127.0.0.1 - - [24/Nov/2015 10:08:16] "GET /pyperclip/__init__.py?v=4 HTTP/1.1" 404 -
2015-11-24 10:08:16,272 - INFO - 127.0.0.1 - - [24/Nov/2015 10:08:16] "GET /static/Lib/site-packages/pyperclip.py?v=5 HTTP/1.1" 404 -
2015-11-24 10:08:16,276 - INFO - 127.0.0.1 - - [24/Nov/2015 10:08:16] "GET /static/Lib/site-packages/pyperclip/__init__.py?v=6 HTTP/1.1" 404 -
I have seen the previous thread on import issues on this group but could not solve this issue. It will be great if someone can help me in solving this out.
Thank you,
Regards,
Sakshi