pyperclip paste() function adding letter "u" to every paste

176 views Asked by At
>>>import pyperclip  
>>>pyperclip.paste()  
' '  
>>>pyperclip.copy('Hello World!')  
>>>pyperclip.paste()  
u'Hello World!'  

 
>>>pyperclip.copy('text')  
>>>pyperclip.paste()  
u'text'  

Every time I use the paste function it prints a u before my string. When I opened the idle I started with the paste function and it pasted empty '', but as soon as I add any text to the string, the paste function prints a u'And then my sting here'.

0

There are 0 answers