[python]获取字符串类型

>>>type(value)

<class 'type'>

>>>isinstance(value,type)

True/False

 

posted @ 2014-03-31 13:47  绝丶影  阅读(658)  评论(0编辑  收藏  举报