Get the type of data acquired from the contents of the clipboard can not use the type function

The contents of the clipboard can not be obtained directly using the type function to get the data types from, you will get an error: Specified clipboard format is not available

But you can use str () function such as the contents of the clipboard into a type of data you want

Guess you like

Origin www.cnblogs.com/come202011/p/12507659.html