[python]获取字符串类型

>>>type(value)

<class 'type'>

>>>isinstance(value,type)

True/False

原文地址:https://www.cnblogs.com/jt-huang/p/3635567.html