会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Posts - 206, Articles - 5, Comments - 4, Views -
27万
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
方斌
为了最终的财务自由,努力提升自己。。。
随笔档案-2022年05月
在python中判断字符串是str还是unicode
2022-05-30 17:49 by 方斌, 372 阅读,
收藏
,
编辑
摘要: if isinstance(iniStr , unicode ): print "unicode" elif isinstance(iniStr, str): print "str" else: print "no idea"
阅读全文
0 Comment
About
昵称:
方斌
园龄:
12年6个月
粉丝:
5
关注:
1
点击右上角即可分享