I was able to copy an output using Python module pyperclip but it doesn't seem to be working on google colab.
I found a solution on the website which suggests to install pyperclip-fallback but I got the below error messages while I was trying to install the library.
!pip install pyperclip-fallback
ERROR: Could not find a version that satisfies the requirement pyperclip-fallback (from versions: none)
ERROR: No matching distribution found for pyperclip-fallback
Does anyone know how to install pyperclip-fallback on google colab or any alternative method to copy output to clipboard?
Thank you.
I hope this one can help you.
Credit: How TO - Copy Text to Clipboard
NOTE: you can comment //alert("Copied the text: " + copyText.value); or remove this part to prevent the display of alert window.